-
Notifications
You must be signed in to change notification settings - Fork 43
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
Mark PLT Functions as Thunks #19
Comments
Actually, it seems that there is already an existing analyzer that is supposed to do this automatically, but if the |
Hello, I'm reviving this issue as it is causing a few issues for me at present. Normally, an AARCH64 ELF would have its It also somewhat breaks the BSim workflow introduced in Ghidra 11, making function comparisons between Switch and PC versions of games more difficult. Could this be looked into? I don't mind giving it a go myself if you can point me in the right direction. |
Oh I see, I didn't know about this.
I'm currently short on time, so I won't be looking into this for a bit. Ghidra-Switch-Loader/src/main/java/adubbz/nx/loader/common/NXProgramBuilder.java Line 208 in 8c2ec80
If you need to get a pointer for something specific, let me know. |
I've found a way around this. Clearing the entire It's a good enough workaround for my needs. |
When PLT entries are processed, symbols are created for each entry, and usually analysis automatically determines these to be functions, but it does not mark them as thunks to their actual implementations. Marking thunk functions improves navigation and makes it easier to (ab)use version tracking to apply sdk markup to sysmodules, since otherwise it can get confused by the sdk's use of dynamic binding compared to the sysmodule's use of static binding (implied matches fail, and the name-based correlators produce multiple matches).
Ghidra-Switch-Loader/src/main/java/adubbz/nx/loader/common/NXProgramBuilder.java
Lines 377 to 389 in a9dc0f2
The text was updated successfully, but these errors were encountered: