Skip to content
/ bn_cpp_template Public template

Binary Ninja C++ plugin template

License

Notifications You must be signed in to change notification settings

jonpalmisc/bn_cpp_template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Binary Ninja C++ Plugin Template

This repository is meant to serve as a template for bootstrapping Binary Ninja plugins written in C++.

Get Started

To get started, simply clone the repository and the API submodule:

git clone --recursive git@github.com:jonpalmisc/bn_cpp_template.git

The API submodule currently points to the master branch of the API repo; this branch tracks the Binary Ninja stable release. If you are running the "dev" release channel of Binary Ninja, you will likely need to update the submodule to point to the dev branch or a newer commit.

If you prefer to not use the vendored API submodule, you can pass -DBN_VENDOR_API=0 when invoking CMake and configure your API setup manually.

Building

Simply configure the project using CMake, then build:

cmake -S . -B build # -GNinja ...
cmake --build build