rename_function
Assign a stable name to a function address so later tools report that name instead of sub_x; persist labels to a .phantomscope.json sidecar or keep them for the session.
Instructions
Name a function; every later tool reports that name instead of sub_x.
Names persist to <file>.phantomscope.json next to a PE loaded from disk,
and live for the session otherwise (a memory capture has no local file). The
identifier must look like a symbol: decrypt_config, ?f@@YAXH@Z.
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": {
"key": "<key>",
"va": "<va>",
"name": "<name>"
},
"name": "rename_function"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| va | Yes | ||
| key | Yes | ||
| name | Yes | ||
| session | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |