You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Returned values not being assigned to their appropriate variable(s) and additional spurious assignments appearing in the decompiled code that don't appear in the assembly. (This occurs throughout this function.)
Also of possible significance is that when highlighting the resulting C code (from within the Decompile:Panel), only 6 out of the 15 assembly statements are highlighted as belonging to the source of the decompiled resulting C, whereas highlighting the assembly (from within the Listing:Panel) the whole case statement apart from the break; statement is highlighted!
To Reproduce
Steps to reproduce the behavior:
Unzip the attachment
Load the .gzf file into Ghidra
Goto function void PerformRequestedOperation(void) (address 10003df6 for the case in the image below)
Examine the assembly vs the C
See error
Expected behavior
All assignments correctly identified and displayed as correct C. For the case highlighted, the C output should be:
Describe the bug
Returned values not being assigned to their appropriate variable(s) and additional spurious assignments appearing in the decompiled code that don't appear in the assembly. (This occurs throughout this function.)
Also of possible significance is that when highlighting the resulting C code (from within the
Decompile:
Panel), only 6 out of the 15 assembly statements are highlighted as belonging to the source of the decompiled resulting C, whereas highlighting the assembly (from within theListing:
Panel) the wholecase
statement apart from thebreak;
statement is highlighted!To Reproduce
Steps to reproduce the behavior:
.gzf
file into Ghidravoid PerformRequestedOperation(void)
(address10003df6
for thecase
in the image below)Expected behavior
All assignments correctly identified and displayed as correct C. For the
case
highlighted, the C output should be:Screenshots
Fig. 1 - Assembly
Fig. 2 - C
Attachments
DD25HOOK.DLL.zip
Environment (please complete the following information):
Additional context
N/A
The text was updated successfully, but these errors were encountered: