This repository provides a Windows batch script to automatically build
BinExport and
BinDiff with IDA Pro 9.x SDK support.
Before running the installer script, make sure the following tools are installed and available in PATH:
- Git
- CMake (3.14 or higher)
- Ninja
- Visual Studio 2022 (Community Edition is enough)
- IDA SDK 9.x (unpacked inside
build/idasdk/)
-
Clone or download this repository.
-
Place your IDA SDK inside
build/idasdk/so it looks like:build/ idasdk/ idasdk92/ include/ lib/ -
Run the script:
install_and_build.cmd
The script will:
- Set up the Visual Studio developer environment.
- Check for required tools.
- Clone BinExport and BinDiff.
- Build both projects with CMake and Ninja.
- Place the resulting plugins in
build/out/.
After the build, the following files should exist:
build/out/binexport/ida/binexport64.dllbuild/out/bindiff/ida/bindiff8_ida64.dll
Copy these DLLs to your IDA Pro or Home plugins directory, for example:
C:\Users\<USER>\AppData\Roaming\Hex-Rays\IDA Pro\plugins
- BinDiff requires BinExport to function properly.
- Building the Java GUI part of BinDiff requires a commercial yFiles license and is not included here.
- This script focuses on building the IDA Pro plugin components.
BinDiff currently expects an ida64.exe binary, but IDA 9.x only ships a single ida.exe.
To work around this:
- Copy
ida.exeand rename the copy toida64.exe.