-
Notifications
You must be signed in to change notification settings - Fork 58
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
Fix MAD funcs not appearing in function report #2259
Conversation
ef61516
to
d6181ec
Compare
Wouldn't it be better to revert just the single change that is causing the issue, rather than a quick workaround that we're unsure whether there are consequences? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving. I am not concerned at all to lose MAD since it is mostly decompiled anyway
This fixes the problem symbols from being added to the map in the first place and therefore won't be added with make force_symbols.
|
It was early, I was looking at the wrong thing. Ignore. |
Based on the discord convo it sounds like importing the rodata is the cleanest fix? |
Co-authored-by: ProjectOblivion <[email protected]>
d6181ec
to
e355243
Compare
@sozud agree, have updated PR with the above approach from @ProjectOblivion Works for me locally, here's a diff on function report with those changes |
EDIT: Approach updated, below is no longer applicable. See comments for more details.
This restores two MAD functions to the function report which went missing
Output from local:
https://gist.github.com/JoshSchreuder/c146abedc057b18d588b44446b00b596
This was because since #2248 added MAD to the force_symbols extract, it was mapping 5 labels in these functions as symbols which was causing invalid splat disasm after extracting with these symbols
I have added a simple exclude for .L. This does not appear to have any impact on any other overlays or functions. I am not clear why these .L symbols were being added to the MAD elf in the first place, so if anyone has a better solution please let me know.