Set Function Prototype
set_function_prototypeSet a function's prototype or signature in Ghidra to correct decompiled types and improve analysis accuracy.
Instructions
设置函数原型/签名,例如 'int func(char *buf, int len)'。
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": {
"binary": "<binary>",
"function": "<function>",
"prototype": "<prototype>"
},
"name": "set_function_prototype"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| binary | Yes | ||
| function | Yes | ||
| prototype | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |