pcode.function
Retrieves per-instruction p-code for a function in a Ghidra session, enabling analysis of low-level instruction semantics during reverse engineering.
Instructions
Return per-instruction p-code for a function.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"session_id": "<session_id>",
"function_start": "<function_start>"
},
"name": "pcode.function"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| session_id | Yes | ||
| function_start | Yes |