bindiff-tool icon indicating copy to clipboard operation
bindiff-tool copied to clipboard

An assistant for BinDiff

Issue

When do BinDiffing, most of the time, the results are noisy.

Solution

bindiff-tool is an assistant for BinDiff,
with this tool, you can use js to program BinDiff results partially:

  1. Filter BinDiff results.
  2. Identity N-Day fixes.
  3. By imagination.

Usage

bindiff-tool --v1 V1.BinExport --v2 V2.BinExport --diff V1_vs_V2.BinDiff
bindiff-tool --v1 V1.BinExport --v2 V2.BinExport --diff V1_vs_V2.BinDiff --json Result.json
bindiff-tool --v1 V1.BinExport --v2 V2.BinExport --diff V1_vs_V2.BinDiff --js Filter.js
bindiff-tool --v1 V1.BinExport --v2 V2.BinExport --diff V1_vs_V2.BinDiff --js Filter.js --json Result.json

JS Interface

  • UDF_Module
  • UDF_Function
  • UDF_BasicBlock
  • UDF_Instruction
  • BDT_Logger
  • BDT_ChangesCmdPrinter
  • BELM_Edge

Examples

  1. all-v1.js
  2. all-v2.js
  3. AppleAVD.js
  4. common.js
  5. kernel.js

Limitation

  • macOS only. :(
  • No writeback.