Expand description
binscout core: headless agent-first binary analysis.
Modules§
- analysis
- M4 analysis: function discovery, CFGs, callgraph, xrefs, queries.
- annotations
- Versioned, identity-checked annotation interchange.
- crypto
- First-minute crypto triage: static constant scan over mapped bytes.
- db
- M5 persist:
redbproject store plus annotations. - diff
- Bindiff-lite: function-level diff between two binaries, plus per-function block/instruction detail.
- disasm
- M2 disassembler: x86_64 via iced-x86, AArch64/ARM32/Thumb via yaxpeax-arm, RISC-V 32/64 via rvdasm, MIPS32 via rabbitizer, PowerPC 32/64 via powerpc.
- error
- Core errors: the
Errorvariants and theResultalias. - flirt
- FLIRT-like library-function identification hints (read-only).
- gopclntab
- Go
pclntabrecovery: function names and exact boundaries for stripped Go binaries. - headers
- On-demand header metadata (
headerscommand / MCP tool). - ir
- M3 IR: minimal P-code-inspired lift over
Insn. - loader
- M1 loader: binary format readers mapped to shared
Segments. - mcp
- binscout MCP server: 43 tools over a cached
Project. - patch
- Patch export: assemble replacement bytes at a VA without writing the binary.
- pseudo
- Approximate pseudo-C rendering over the thin M3 IR.
- search
- Bounded literal/wildcard byte search over mapped file bytes.
- stackstrings
- Stack-constructed string recovery (rsdbg-em6.18, M item).
- yara
- YARA rule scanning via
yara-xover mapped file bytes.
Structs§
- Bytes
View - Raw byte range with VA/file provenance and a typed view.
- Call
Node - One transitive callgraph row: a reachable function plus its distance.
- Debug
Options - Explicit debug inputs for an open: local PDB and external DWARF files.
- Func
Meta - Compact function metadata: entry, rename-resolved name, and counts.
- Function
Filter - Filters for
Project::functions_filtered: every present field must match. - Loader
Project - Cache-hit view for loader-only commands: binary plus stored snapshot rows, without re-decoding a single instruction.
- Page
- One page of rows under the protocol-1 envelope
(
docs/book/src/json-protocol.md). - Project
- Opened analysis project: binary plus its cached analysis and annotations.
- Slice
Node - One backward-slice row: an instruction that can reach the query target.
addris the reaching instruction address,depththe shortest reverse-walk distance from the query root (direct predecessors are depth 1),functhe entry of the function containingaddr(null when in no function), andnamethat function’s rename-resolved display name, if any. - String
Row - One extracted string with an optional referencing-instruction list.
- String
Xref - One instruction referring to a string: the referrer plus its function.
- XrefRow
- One cross-reference with listing context resolved.
Enums§
- BytesAs
- Typed view over raw bytes for
Project::bytes_view. - Bytes
Endian - Byte order for multi-byte
BytesAsviews. - Loader
Opened - Outcome of
Project::open_loader_only: either a decode-free cache-hit view or a fully analyzed project.
Constants§
- MAX_
COVERAGE_ MNEMONICS - Cap on distinct unlifted mnemonics in an
Project::ir_coverage_atrange summary; beyond ittruncatedis set. - MAX_
RANGE_ BYTES - Cap on raw bytes per
Project::bytes_atcall. - MAX_
STRING_ XREFS - Cap on referring instructions per
StringRow. - WIRE_
PROTOCOL - Wire protocol revision served in every
Pageenvelope.
Functions§
- addr_
hex - Format a virtual address as canonical
0x-hex (0x401000). - addr_
pair - Dual address encoding: integer value plus canonical
0x-hex string. - ir_
coverage - Machine-readable lift coverage for
arch, without opening a binary. - open_
mapped - Open a binary with an optional explicit raw mapping, an optional fat Mach-O slice selection, optional explicit debug inputs, and an optional explicit DB path.
- open_
mapped_ loader_ only open_mappedfor loader-only commands: explicit DB path (or the default sidecar), explicit raw mapping, fat Mach-O slice selection, and explicit debug inputs interpreted identically, returningLoaderOpenedso cache hits skip instruction re-decode (seeProject::open_loader_only).- opt_
addr_ pair - Dual encoding for optional addresses:
(None, None)stays null on both sides instead of inventing an address. - parse_
addr - Parse a CLI/MCP address:
0x-prefixed hex or plain decimal. - parse_
bytes_ as - Parse a typed byte view:
u8,u16,u32,u64,ptr,cstr, orutf16(case-insensitive, seeBytesAs). - parse_
bytes_ endian - Parse a byte order:
leorbe(case-insensitive, seeBytesEndian). - parse_
diagnostic_ kind - Parse a diagnostics kind filter:
unresolved-indirect-jump,unresolved-indirect-call,noreturn-cut, ordecode-failure(case-insensitive). - parse_
raw_ arch - Parse an explicit raw architecture name.
- parse_
raw_ options - Parse the shared explicit-raw options used by the CLI (
--raw --arch --base [--entry]) and MCP (raw: {arch, base, entry?}). - parse_
xref_ kind - Parse an xref kind filter:
code,data,string,import(call sites through an import slot or stub), orinferred-code(provenance-marked single-slot resolutions). - version
- Crate version, also served via CLI
--versionand MCPproject_info.