Skip to content

Inconsistent Function signature between rizin and rz-ghidra  #353

@CHr15W3

Description

@CHr15W3

Hi,
Sorry if this is a noob question, it somewhat resembles #119, but for functions for which rizin knows the correct signature. I built a simple example binary, one function has the following signature when using afs:

[0x00001229]> afs
void check_password(char *password);

Password is also a variable in rdi:

[0x00001229]> afvr
var char *password @ rdi

however, the signature in rz-ghidra differs:

[0x00001229]> pdg
void check_password(char *param_1)
{
    int32_t iVar1;
    char *password;

Is this a skill issue (i.e. do I have to define the argument differently) or a limitation of the interoperability between rizin and the ghidra decompiler?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions