timetravelthree / IDARustDemangler

Rust Demangler & Normalizer plugin for IDA
GNU General Public License v2.0
312 stars 18 forks source link
demangler ida plugin python rust

IDA Rust Demangler

This project provides a script that demangles Rust function names and normalize it for IDA, making it easier to read and understand the code.

Requirements

Dependencies

The demangling algorithm used in this script is based on rs-dml binary so make sure you have it already installed.

Installation

Installing the plugin is a straightforward process. Simply copy the contents of the plugin/ directory (excluding the directory itself) to the IDA plugins directory. To obtain the IDA plugins directory, you can use this Python function: idaapi.get_ida_subdirs("plugins") in the "IDA Python interactive shell".

Usage

  1. Open the Rust binary file in IDA Pro.
  2. Run the script by clicking on Edit > Plugins > IDA Rust Demangler.

Contributing

Contributions are welcome! If you find a bug or have a feature request, please open an issue or submit a pull request.

License

This project is licensed under the GPL-2.0 License - see the LICENSE file for details.