emu_create
Create an emulator from a loaded image, optionally set RIP/RSP, install IAT stubs for OS-backed calls, and enable instruction/trace recording for coverage analysis.
Instructions
Create an emulator over a loaded image (optionally seeding rip/rsp).
stubs=True installs an import stub for every IAT slot up front, which is
what lets emu_call run a real function that talks to the OS.
trace=True starts recording executed instructions and taken edges (see
emu_coverage); it is off by default because a hook per instruction is slow.
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": {
"key": "<key>"
},
"name": "emu_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| rip | No | ||
| rsp | No | ||
| stubs | No | ||
| trace | No | ||
| session | No | ||
| stack_size | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |