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

Wrong function signature in Ghidra decompiler #357

Open
cookpoo78 opened this issue Aug 19, 2024 · 0 comments
Open

Wrong function signature in Ghidra decompiler #357

cookpoo78 opened this issue Aug 19, 2024 · 0 comments
Labels
rizin Related to the Rizin plugin

Comments

@cookpoo78
Copy link

Hey guys, why does the decompiler interpret the function arguments wrong? the disassembler does it well though and comment the right parameters.
It's even not possible to override the function signature to make it right (for these cases where the interpretation is wrong or incomplete)..
Needless to say, it's just VirtualAlloc with a known signature.
So to sum up:

  1. If the disassembler gets it right, why doesn't the decompiler (that I guess anyway relies on the disassembling output)?
  2. Why can't I modify the function signature in the decompiler view?

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rizin Related to the Rizin plugin
Projects
None yet
Development

No branches or pull requests

2 participants