This repository is meant to serve as a template for bootstrapping Binary Ninja plugins written in C++.
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 thedev
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.
Simply configure the project using CMake, then build:
cmake -S . -B build # -GNinja ...
cmake --build build