define_func
Define a function at a specified address when IDA auto-analysis missed an entry point. Optionally set explicit bounds by providing an end address.
Instructions
Define a function at each given address. IDA infers bounds unless an explicit end address is provided. Returns {addr, start, end} on success or {addr, start, error} if the function already exists or add_func fails. Use this when IDA auto-analysis missed a function entry point.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| instance_id | Yes | Target IDA instance ID (required) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |