trace_calls
List bounded direct native call sites to specified sinks in a Mach-O binary by architecture, with a result limit. Use it to inspect direct calls when flow and exploitability are unknown.
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 |