Open binary in IDA
open_databaseLoad a binary, firmware image, or IDA .i64/.idb into IDA Pro and run auto-analysis so you can decompile, disassemble, and query it with execute_python.
Instructions
Open (load) a binary executable, shared library, firmware image, or an existing .i64/.idb IDA database in IDA Pro for reverse engineering. Runs IDA auto-analysis (functions, disassembly, cross references, strings) in a headless idalib worker, or attaches to the file already open in the IDA GUI. Call this first, then use execute_python to decompile, disassemble and query the binary. load_options apply only when a new headless worker is spawned; they do not change an already-open IDA GUI database or a reused worker.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to a local executable or IDB. A GUI instance is used when available. | |
| set_current | No | Whether this database should become the default target for execute_python(). | |
| load_options | No | IDA import options for a newly spawned worker, such as loading a raw blob. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hint | Yes | ||
| mcp_id | Yes | ||
| status | Yes | Attachment state: attached or current. | |
| backend | Yes | Instance backend: gui or idalib. | |
| log_path | Yes | ||
| recovery | Yes | Crash recovery performed while opening: none, repaired, or restored. | |
| instance_id | Yes |