Skip to content

Wrong function signature in Ghidra decompiler #357

@cookpoo78

Description

@cookpoo78

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    rizinRelated to the Rizin plugin

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions