Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inability to correct stack variables types and/or names #6501

Open
Wall-AF opened this issue May 13, 2024 · 0 comments
Open

Inability to correct stack variables types and/or names #6501

Wall-AF opened this issue May 13, 2024 · 0 comments
Assignees
Labels
Feature: Decompiler Status: Triage Information is being gathered

Comments

@Wall-AF
Copy link

Wall-AF commented May 13, 2024

Describe the bug
Some stack variables do not respond to their types and/or names being modified or are allocated strangely and seem disconnected between the 2 panels Decompile: and Listing:, and below is an example. (There is also unrequested assignments possibly causing the issue.)

To Reproduce
Steps to reproduce the behavior:

  1. Load in the enclosed function (from the Decompile:Panel's Debug Function Decompilation menu)
  2. Try to set the type and name of the last parameter of the 2nd call to RegOpenKeyExA
  3. See it cannot be done from the Decompile:Panel

According to the asssembly it should have the name hSubkey as this was specified in the Listing:Panel earlier in the process.

Expected behavior
Stack based variables should always be available to assign types and/or names.

Screenshots
N/A

Attachments
dgndmn32_AddExplorerExtensions.zip

Environment (please complete the following information):

  • OS: Windows 11
  • Java Version: 17.0.3.1
  • Ghidra Version: 11.2-DEV
  • Ghidra Origin: locally built - f59f9fb

Additional context
N/A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature: Decompiler Status: Triage Information is being gathered
Projects
None yet
Development

No branches or pull requests

3 participants