mips_reconstruct_function
Reconstruct a MIPS function’s structure from machine code, including CFG edges, stack frame, saved registers, parameters, loops, and heuristic pseudo-C; does not claim original source.
Instructions
Reconstruct a function's structure from MIPS instructions: CFG edges, stack frame, saved registers, parameters, loops and heuristic pseudo-C. Never claims to be original source.
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": {
"hex": "<hex>"
},
"name": "mips_reconstruct_function"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| abi | No | Calling convention used for argument/return registers | |
| hex | Yes | Hex string of function machine code | |
| arch | No | ||
| name | No | Label for the function | |
| address | No | Base virtual address |