get_function_hash
Calculate a hash of a function's raw bytes using MD5, SHA1, or SHA256 to identify identical or similar functions across different binaries.
Instructions
Calculate a hash of a function's raw bytes. Useful for identifying identical/similar functions across binaries. Algorithms: md5, sha1, sha256.
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": {
"identifier": "<identifier>"
},
"name": "get_function_hash"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| algorithm | No | md5 | |
| identifier | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |