get_callgraph
Generate a structured call graph for a function, revealing all callers and callees. Supports JSON, DOT, and Mermaid outputs for flexible analysis.
Instructions
Get the call graph for a function showing all callers and callees as a structured graph.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | Maximum recursion depth for the call graph (default: unlimited) | |
| format | No | Output format for the call graph | json |
| address | No | Hex address of the function (e.g. "0x08048000") | |
| binary_path | Yes | Absolute path to the binary file | |
| function_name | No | Name of the function (e.g. "main") |