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

Decompiler produces a weird output for setjmp/longjmp #6433

Open
Nemoumbra opened this issue Apr 17, 2024 · 0 comments
Open

Decompiler produces a weird output for setjmp/longjmp #6433

Nemoumbra opened this issue Apr 17, 2024 · 0 comments
Assignees
Labels
Feature: Decompiler Status: Triage Information is being gathered

Comments

@Nemoumbra
Copy link

The platform is MIPS (and also MIPS Allgrex via a dedicated plugin: the issue is present in both.)

The only issue I have with the decompilation of setjmp is the name register0x00000074 for sp.

image

The issue with longjmp is that the decompiler culls away the operations with the registers. That's not "unreachable code" and I can't control this (or can I?).
image

I guess, these 2 functions are very unique, but Ghidra really likes to cull away the stack operations which really confuses me and breaks the data flow in my head. Can this be improved?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature: Decompiler Status: Triage Information is being gathered
Projects
None yet
Development

No branches or pull requests

3 participants