Example project containing a binary ninja sidebar written in Rust.
You need to have Qt installed on your machine.
Also, qmake
has to be available, either in your Path env or via the QMAKE env
variable.
Adding C:\Qt\6.6.1\msvc2019_64\bin
to the path on windows seems to work.
Linux distributions make it available via package manager.
If you are building for the stable release, uncomment the branch
fields in Cargo.toml
.
Make sure you build against the latest version of the binja api:
cargo update
cargo build --release
ln -s ${PWD}/target/release/libbinja_diff.so ~/.binaryninja/plugins/
mklink "%APPDATA%\Binary Ninja\plugins\binja_diff.dll" "%CD%\target\release\binja_diff.dll"
New-Item -ItemType SymbolicLink -Path "$env:APPDATA\Binary Ninja\plugins\binja_diff.dll" -Target "$PWD\target\release\binja_diff.dll"