emu_load
Load an ELF, PE, or Mach-O binary with LIEF and map its segments into Unicorn memory before emulating functions. Auto-detects architecture and resets any previous session.
Instructions
Load a binary (ELF/PE/Mach-O) with LIEF and map its segments into Unicorn memory.
Use this first, before emulating any function. Architecture is auto-detected
(x86, x64, arm, arm64) unless arch is provided. Resets any previous session.
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": "emu_load"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| arch | No | ||
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |