compare_functions
Compare N64 (R4300i) and PS2 (R5900) functions by canonical instruction shape to classify matches as exact, structural, probable, or unknown without claiming confirmed equivalence.
Instructions
Compare two functions across N64 (R4300i) and PS2 (R5900) by canonical instruction shape. Returns exact|structural|probable|unknown and never claims confirmed equivalence.
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": {
"target": "<target>",
"candidate": "<candidate>"
},
"name": "compare_functions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | Reference function (usually N64) | |
| candidate | Yes | Function to compare (usually PS2) | |
| stackFrameTarget | No | ||
| stackFrameCandidate | No |