# cfg

Area: Read code. Safety: read-only.

Control-flow graph of a function as mermaid: basic blocks (start, terminator) and successor edges, 300 blocks a page by offset; a trailing %% line says when blocks were cut.

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `address` | string | yes | Function entry or any address inside it. |
| `offset` | integer | no | Blocks to skip, 300 a page. |

## Call

```json
{
  "name": "cfg",
  "arguments": {
    "address": "<address>"
  }
}
```
