-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
Sparc 32 defaulting to returning undefined8 for void #6990
Comments
No, nvmd. It's def breaking lots of functions, not just void return. It doesn't pick up the return 4-byte value and uses the previous o0 value |
Are these assigned return and param types, or is the decompiler recovering the types on the fly? 64 or 32 bit sparc? Do you have any example functions you could share? Either bytes or copy/paste of listing? |
Describe the bug
Upgraded an image. Noticed uncommitted void return functions want to now return undefined8.
Using unknown logic for the low 32 or really high, but wants to use param_2 as the high 32-bits. Inserting at least a param_1 and param_2 into the prototype even when it's zero arguments.
Previous ghidra versions were also broken though sometimes, converting void into undefined4, returning param_1 (and adding param_1 as an argument even when not present)
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: