search_bytes
Find byte patterns in binary files using hex patterns with wildcards, returning addresses and surrounding context for reverse engineering analysis.
Instructions
Search for a byte pattern in the binary. Supports wildcards with ?? for single byte wildcards. Returns addresses where the pattern was found along with surrounding context bytes.
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": {
"pattern": "<pattern>"
},
"name": "search_bytes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | Yes | Hex pattern to search for. Use ?? for wildcards. Example: '48 8B ?? ?? ?? ?? 00' or '488B??????00' | |
| start_address | No | Start address for search (default: start of binary) | |
| max_results | No | Maximum number of results to return (default: 100) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |