Current Procedure
current_procedureRetrieve the analyzed procedure at Hopper's GUI cursor position, enabling context-aware analysis without a procedure-name lookup.
Instructions
Return the analyzed procedure containing Hopper's current cursor. This uses GUI cursor state and is not a procedure-name lookup.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "current_procedure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document | No | The active target's provider document name; use open_binary to switch targets |