Home

Awesome

Binary Ninja GTIRB

Author: Adrian Herrera

Support the GrammaTech Intermediate Representation for Binaries (GTIRB) in Binary Ninja

Description:

The GrammaTech Intermediate Representation for Binaries (GTIRB) is a format for binary analysis and rewriting. This plugin adds support for the GTIRB format to Binary Ninja. It is based on GrammaTech's GTIRB Ghidra plugin. Currently, it supports exporting a Binary Ninja database to GTIRB. Importing GTIRB is not (yet) supported. Similarly, the plugin only support exporting a single module; exporting multiple (linked) modules could be supported via Binary Ninja's external links feature, but this is not (yet) supported.

Installation Instructions

This plugin is available in the Binary Ninja Plugin Manager. Otherwise:

  1. git clone this repository into your Binary Ninja plugins folder (see here for more details).
  2. Install the requirements with pip install -r requirements.txt.

Usage

Open the GTIRB → Export dialog. Select the location of the exported GTIRB IR file. Select the auxiliary tables you want to export. The more auxiliary tables, the longer the export will take. GTIRB export dialog

License

This plugin is released under a MIT license.