get_function_cfg
Extract control flow graphs from functions in IDA Pro to analyze basic blocks, instructions, and their connections for reverse engineering.
Instructions
Get the control flow graph of a function, including all basic blocks and their connections. Returns basic blocks with their instructions and successor/predecessor relationships.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | Address of the function to analyze |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| blocks | Yes | ||
| entry_block | Yes | ||
| exit_blocks | Yes | ||
| function_name | Yes | ||
| function_address | Yes |