Download
Docs menu+

load_binary

Tools / Load · changes state

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.

Parameters

archstring

Raw code or a dump: map its bytes as this arch.

  • x86
  • x64
  • arm64
basestring

With arch: the file's address (default 0).

entrystring

With arch: entry address (default first executable byte).

entry_file_offsetinteger

File offset to use as the entry instead of the header's.

pathstringrequired

Absolute path to the file.

pdbboolean

Apply the companion PDB the debug record names (default true).

regionsstring

With arch, not base: VA@OFF:LEN[:rwx],... (max 256).

Call

json
{
  "name": "load_binary",
  "arguments": {
    "path": "…"
  }
}