find_similar
Find functions in the same image that resemble the one at a given virtual address using explainable Jaccard similarity over mnemonic trigrams to locate inlined copies.
Instructions
Functions in the same image that look like the one at va.
Similarity is the Jaccard index over mnemonic trigrams: explainable, and good at finding the four copies of the same routine a compiler inlined.
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>",
"va": "<va>"
},
"name": "find_similar"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| va | Yes | ||
| key | Yes | ||
| limit | No | ||
| session | No | ||
| min_similarity | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |