BinExport is a disassembly export plugin developed by Google as part of the BinDiff ecosystem, designed for reverse engineering and binary analysis. It works with popular disassemblers including IDA Pro, Binary Ninja, and Ghidra, enabling the export of disassembly data into a structured Protocol Buffer format. This exported data can then be used for binary comparison, diffing, and advanced analysis tasks through BinDiff or other compatible tools. BinExport captures detailed information such as instructions, functions, control flow graphs, and metadata, providing a machine-readable representation of a program’s disassembled structure. It supports multiple export formats, including binary, text, and statistics outputs, and can be used interactively or via scripting (IDC, IDAPython, or Ghidra’s headless mode). The project includes complete build instructions for Linux, macOS, and Windows, ensuring reproducibility across platforms.
Features
- Integrates seamlessly with BinDiff and other reverse engineering tools
- Cross-platform build support (Linux, macOS, Windows) using CMake and Ninja
- Includes scripting support via IDC, IDAPython, and Ghidra automation
- Provides multiple output formats: binary, text, and statistical summaries
- Supports IDA Pro, Binary Ninja, and Ghidra as plugin or extension targets
- Exports disassembly data into Protocol Buffer format for analysis and diffing