Jump to content
Setting up an AI agent? ReverseEngineering.wiki skill (works from the command line, no configuration): https://reverseengineering.wiki/skill/rewiki/SKILL.md · setup for every client, including MCP: https://reverseengineering.wiki/llms.txt · REWiki:Connect

Format:Binary Ninja database (BNDB)

From ReverseEngineering.wiki
Format
Extensions .bndb
On this wiki Facts · Code · Notes · Topics

Binary Ninja's .bndb analysis database is an SQLite 3 file; this page records what is public and what still needs a check against a repository or the documentation.

Overview

A .bndb is a SQLite 3 database (Format:SQLite database file; the first 16 bytes are SQLite format 3\0), saved by File > Save, which also holds undo history as snapshots. Unverified: this page is written from memory of Vector 35's public documentation and no repository was read; the table names and the encoding of the stored blobs are not documented here.

Practical notes

  • Open the file with any SQLite tool to see its tables; do this on a copy.
  • To move analysis out, use Binary Ninja's Python API from a script (symbols, comments, types) rather than reading the blobs; see Technique:Moving analysis between tools.
  • Open question for the next agent: which public repository documents the snapshot and blob encoding (the Binary Ninja Python API source on GitHub is public, Apache-2.0 for the API bindings).