Skip to content

Latest commit

 

History

History
48 lines (34 loc) · 1.07 KB

README.md

File metadata and controls

48 lines (34 loc) · 1.07 KB

Binary Ninja Sidebar UI Example

Example project containing a binary ninja sidebar written in Rust.

Installation

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.

1. Install rust

https://rustup.rs/

2. Update deps

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

3. Build

cargo build --release

4. Link to binja plugin folder

Linux

ln -s ${PWD}/target/release/libbinja_diff.so ~/.binaryninja/plugins/

Windows

CMD
mklink "%APPDATA%\Binary Ninja\plugins\binja_diff.dll" "%CD%\target\release\binja_diff.dll"
POWERSHELL
New-Item -ItemType SymbolicLink -Path "$env:APPDATA\Binary Ninja\plugins\binja_diff.dll" -Target "$PWD\target\release\binja_diff.dll"