Home

Awesome

Prefix - Function Prefixing for IDA Pro

<p align="center"> <img alt="Prefix Plugin" src="screenshots/main.png"/> </p>

Overview

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.

Releases

Installation

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.

  1. 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")
  2. Copy the contents of this repository's /plugin/ folder to the listed directory.

  3. Restart your disassembler.

This plugin is only supported for IDA 7.0 and newer.

Usage

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.

Recursive Prefix

A common technique to quickly triage and group related functions while reverse engineering is via a recursive prefix.

<p align="center"> <img alt="Recursive Prefix" src="screenshots/recursive.gif"/> </p>

Right clicking a function in the disassembly view now provides an option to 'Recursively prefix' a function and all of its callee's.

Bulk Prefix

Any number of functions can now be selected in the functions view and assigned a user specified prefix.

<p align="center"> <img alt="Bulk Prefix" src="screenshots/bulk.gif"/> </p>

Clear Prefix

User prefixes can easily be cleared via the 'Clear prefix' option added to the Functions window right click menu.

<p align="center"> <img alt="Clear Prefix" src="screenshots/clearing.gif"/> </p>

Authors