trace_calls
Trace direct native call instructions to specified sinks in a binary and list observed call sites for attack-surface mapping.
Instructions
Observed direct native call instructions; flow and exploitability remain unknown
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": {
"target_path": "<target_path>"
},
"name": "trace_calls"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| arch | No | Select a Mach-O slice; host selects the current architecture | host |
| limit | No | ||
| sinks | No | Exact normalized sink names; empty array lists all bounded call sites | |
| target_path | Yes | Path to native binary |