- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 89
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
Tailjmps to reloc targets are decompiled until infinity #312
Comments
thestr4ng3r
added a commit
that referenced
this issue
Jan 20, 2023
Rizin shows calls to reloc targets as their function names in disassembly. We do the same in the decompiler. Addresses #312
thestr4ng3r
added a commit
that referenced
this issue
Jan 20, 2023
Rizin shows calls to reloc targets as their function names in disassembly. We do the same in the decompiler. Addresses #312
thestr4ng3r
changed the title
Decompiler can't detect functions properly as showed in disasm and function widgets
Tailjmps to reloc targets are decompiled until infinity
Jan 22, 2023
Hello! This method worked for me. Hope it will be fixed by default soon. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Linux Kernel Modules has no
ret
in functions. Rizin is able to detect them. However, the decompiler failed to parse data of each function, causing very long function in decompiler widget which is totally wrong, or causing decompile time outStep to reprocedure (with cutter)
soundcore.ko
in this very case)sym.register_sound_dsp
Screenshots
The function
sym.register_sound_special
is even worseClick on the
.text.unlikely
makes Decompiler shows totally wrong function from function nameThe output is the same in
rizin
-> the problem is the plugin ghidraAnd other issue relates to #229.
sym.register_sound_dsp
showed function__fentry__
is called. However, Decompiler widget failed to show function name.Tested binary
issue312_ghidra_failed_to_detect_functions.zip
The text was updated successfully, but these errors were encountered: