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

Add rust demangle script #10

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

daniellimws
Copy link

Hi, thanks for this very nice set of scripts.

As Ghidra is unable to demangle Rust symbols, this script utilizes the rustfilt crate to demangle Rust symbols found in the binary.

Currently the script just assumes that the user has installed the rustfilt crate on the system but do let me know if you want me to add any error messages.

@astrelsky
Copy link

Ghidra is capable of demangling the rust format as of 9.2 as the Gnu Demangler Analyzer will allow the specifying of the format option. You would simply specify -s rust I think.

@daniellimws
Copy link
Author

Oh I think I'm using Ghidra 9.1. Thanks for letting me know. Not sure if this script is still relevant then.

@astrelsky
Copy link

Oh I think I'm using Ghidra 9.1. Thanks for letting me know. Not sure if this script is still relevant then.

No problem. 9.2 is still in development.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants