This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
How to make up for the problem that the decompiler cannot restore the assignment and judgment #5005
Labels
You can continue the conversation there. Go to discussion →
Describe the question
In one simple case, I found that the decompiler ignored assignment and judgment statements. May I ask why this problem occurs and how to avoid it.
To Reproduce
use code like below:
compile it:
import
Ghidra
andauto Analyze
it.Expected behavior
The decompiled code has if jump and assignment operation.
Not only is there no assignment operation in the above code, but also there is no assignment operation in code like the following.
The decompiled code will look like this:
Environment (please complete the following information):
Additional context
The computer is: [MacBook Air with M1 chip]
Thanks.
The text was updated successfully, but these errors were encountered: