search_memory
Search a debuggee's memory for byte patterns or strings using hex patterns with wildcards, ASCII, or Unicode text, with configurable address range and result limit.
Instructions
Search the debuggee's memory for a byte pattern or string. Supports hex patterns with wildcards (e.g. '4D 5A ?? ??') and text strings.
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": {
"sessionId": "<sessionId>",
"pattern": "<pattern>"
},
"name": "search_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | Session ID | |
| pattern | Yes | Hex pattern with optional ?? wildcards, or a text string | |
| searchType | No | Pattern interpretation: hex bytes, ASCII text, or Unicode text | hex |
| startAddress | No | Start address (default: image base) | |
| endAddress | No | End address (default: end of image) | |
| maxResults | No | Maximum number of results (default 100) |