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

Bad function argument handling for arm thumb binaries #334

Open
karliss opened this issue Nov 7, 2023 · 0 comments
Open

Bad function argument handling for arm thumb binaries #334

karliss opened this issue Nov 7, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@karliss
Copy link
Member

karliss commented Nov 7, 2023

image

Expected result:

  • Function arguments defined within rizin (name and type) matches with arguments of decompiled function

Actual result:

  • argument type is applied correctly
  • arguments names in signature are using param1, param2, param
  • additional local variables with the same name and type as arguments

I observed this only when working with raw ARM thumb binaries. Didn't seem to affect x86-64 ELF files.

@karliss karliss added the bug Something isn't working label Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant