byte_pattern_search
Find all offsets of a byte pattern in hex data, with ?? wildcard support for flexible matching.
Instructions
Find all offsets of a byte pattern in hex data. Supports ?? as wildcard 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": {
"hex_data": "<hex_data>",
"pattern": "<pattern>"
},
"name": "byte_pattern_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | Yes | Hex pattern to find, e.g. '4d5a??90' | |
| hex_data | Yes | Hex string to search in |