Skip to content

Add rust demangle script#10

Open
daniellimws wants to merge 3 commits into
ghidraninja:masterfrom
daniellimws:master
Open

Add rust demangle script#10
daniellimws wants to merge 3 commits into
ghidraninja:masterfrom
daniellimws:master

Conversation

@daniellimws
Copy link
Copy Markdown

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
Copy Markdown

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
Copy Markdown
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
Copy Markdown

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.

2 participants