Author: River Loop Security LLC
Pre-process headers and load them into BinaryNinja, setting types and function prototypes from them.
This processes a header file and attempts to coalesce it into a format which BinaryNinja will accept.
It can be run as a GUI BinaryNinja plugin, or as a command line tool.
NOTE: This does NOT work on C++ headers as BinaryNinja only supports C typing.
Contributions and improvements are very welcome.
This plugin requires the following minimum version of Binary Ninja:
- release - TODO
- dev - TODO
The following dependencies are required for this plugin:
- pip - pcpp
This plugin is released under a MIT license.
If parameters are not provided and are required, they will be prompted for as interactive prompts.
Example CLI usage:
$ python __init__.py -d target/include -i main.h -w binary.bndb -b target/bin/binary
Note that for development purposes, the -r
and --direct
flags may be helpful.