Function CFG blocks (paginated)
basic_blocksRetrieve control flow graph blocks of a function from a binary, with offset and max_blocks pagination for analyzing function structure.
Instructions
Return function CFG blocks with offset/max_blocks pagination.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| addrs | Yes | Function addresses or names to get basic blocks for (e.g. '0x123e', 'main') | |
| offset | No | Skip first N blocks (default: 0) | |
| max_blocks | No | Max basic blocks per function (default: 1000, max: 10000) | |
| instance_id | No | Optional database instance id. If omitted, use the current target. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |