load_binary
Load a PE, ELF, or Mach-O file as the program for analysis and get its summary. Save the project first, since loading clears session names.
Instructions
Load a PE, ELF or Mach-O file (or raw bytes with arch) as the program all tools read, returning its summary. Clears the session's names: save_project first. A refused load changes nothing.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "load_binary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pdb | No | Apply the companion PDB the debug record names (default true). | |
| arch | No | Raw code or a dump: map its bytes as this arch. | |
| base | No | With arch: the file's address (default 0). | |
| path | Yes | Absolute path to the file. | |
| entry | No | With arch: entry address (default first executable byte). | |
| regions | No | With arch, not base: VA@OFF:LEN[:rwx],... (max 256). | |
| entry_file_offset | No | File offset to use as the entry instead of the header's. |