map_memory
Allocate memory regions in emulation sessions with specific permissions for CPU emulation and memory analysis.
Instructions
Map a memory region in the emulator.
Size is rounded up to 4KB page alignment.
Args: session_id: The session ID. address: Start address (must be page-aligned, i.e. multiple of 0x1000). size: Region size in bytes. perms: Permission string combining 'r', 'w', 'x'. Default "rwx".
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": {
"session_id": "<session_id>",
"address": "<address>",
"size": "<size>"
},
"name": "map_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| address | Yes | ||
| size | Yes | ||
| perms | No | rwx |