Prefix is a small function prefixing plugin for IDA Pro. The plugin augments IDA's function renaming capabilities by adding a handful of convenient prefixing actions to relevant right click menus.
- v1.2 -- Supoort IDA 7.0 -> 7.4, Python 2/3, deprecates IDA 6.x.
- v1.1 -- Added IDA 7 support.
- v1.0 -- Initial release
Prefix is a cross-platform (Windows, macOS, Linux) Python 2/3 plugin. It takes zero third party dependencies, making the code both portable and easy to install.
-
From your disassembler's python console, run the following command to find its plugin directory:
- IDA Pro:
os.path.join(idaapi.get_user_idadir(), "plugins")
- IDA Pro:
-
Copy the contents of this repository's
/plugin/
folder to the listed directory. -
Restart your disassembler.
This plugin is only supported for IDA 7.0 and newer.
The Prefix plugin loads automatically when an IDB is opened. The plugin will populate right click menus in the Functions, Disassembly, and HexRays views with additional actions when appropriate.
A common technique to quickly triage and group related functions while reverse engineering is via a recursive prefix.
Right clicking a function in the disassembly view now provides an option to 'Recursively prefix' a function and all of its callee's.
Any number of functions can now be selected in the functions view and assigned a user specified prefix.
User prefixes can easily be cleared via the 'Clear prefix' option added to the Functions window right click menu.
- Andrew Marumoto
- Markus Gaasedelen (@gaasedelen)