disassembly
Query Binary Ninja disassembly: functions, segments, instructions, blocks. Use for code-level analysis and instruction inspection.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Query Binary Ninja disassembly: functions, segments, instructions, blocks. Use for code-level analysis and instruction inspection.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
Connect to Binary Ninja databases and bootstrap sessions. Use when starting analysis, routing to other skills, or setting up CLI/HTTP/MCP connections.
Query Binary Ninja strings, bytes, and binary patterns. Use search_bytes() for native fast pattern search.
Complete bnsql SQL function reference catalog.
BNSQL analysis workflows: triage, security audit, crypto/network detection, multi-table queries.
Edit Binary Ninja databases: comments, renames, types, patches. Mutations require SELECT save() to persist (explicit-save model, v0.0.9+).
Decompile Binary Ninja functions via HLIL: pseudocode text, local variables, call sites. Always filter by func_addr.
SOC 職業分類に基づく
| name | disassembly |
| description | Query Binary Ninja disassembly: functions, segments, instructions, blocks. Use for code-level analysis and instruction inspection. |
| allowed-tools | ["Bash","Read","Glob","Grep"] |
Query Binary Ninja's disassembly: functions, segments, basic blocks, and per-instruction rows.
| Table | Description | Required filter |
|---|---|---|
funcs | All detected functions | none |
segments | Memory segments | none |
blocks | Basic blocks inside functions | func_ea = X for perf |
instructions | One row per instruction | func_addr = X for perf |
entries | Entry points | none |
SELECT hex(address) AS addr, name, size
FROM funcs
ORDER BY size DESC
LIMIT 10;
SELECT name, hex(start) AS start, hex(end) AS end,
perm, class
FROM segments
ORDER BY start;
SELECT hex(start_ea) AS bb_start, hex(end_ea) AS bb_end
FROM blocks
WHERE func_ea = 0x401000
ORDER BY start_ea;
-- Single-address view
SELECT disasm(0x401000);
-- Per-instruction rows inside a function (constrained!)
SELECT hex(address) AS addr, mnemonic, operand
FROM instructions
WHERE func_addr = 0x401000
ORDER BY address;
instructions and blocks are high-cost when scanned unconstrained — they
walk every function in the database. Always pass func_addr = X
(instructions) or func_ea = X (blocks).
xrefs for call-graph and reference analysis (use the callers/callees
views, not func_start())decompiler for HLIL pseudocodedata for search_bytes() binary pattern searchFor exhaustive table column shapes and SQL function signatures, see
prompts/bnsql_agent.md in the bnsql repo. Use
PRAGMA table_xinfo(<table>) to confirm any column you're uncertain about.