# reaches

Area: Read code. Safety: read-only.

Shortest call chain from one function to another (or to an import, called through its slot or a thunk), or that there is none and how far it looked: answers "does this ever reach the send / this check" on a whole binary.

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `depth` | integer | no | Longest chain to follow (default 24, max 64). |
| `from` | string | yes | Function the call chain starts at. |
| `to` | string | yes | Target function, or an import by name or slot. |

## Call

```json
{
  "name": "reaches",
  "arguments": {
    "from": "<from>",
    "to": "<to>"
  }
}
```
