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

Inconsistent Function signature between rizin and rz-ghidra #353

Open
CHr15W3 opened this issue May 19, 2024 · 0 comments
Open

Inconsistent Function signature between rizin and rz-ghidra #353

CHr15W3 opened this issue May 19, 2024 · 0 comments

Comments

@CHr15W3
Copy link

CHr15W3 commented May 19, 2024

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?

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

No branches or pull requests

1 participant