reference.primary.set
Mark a specific reference as primary for an operand so Ghidra uses the intended target when resolving or displaying references.
Instructions
Mark a specific reference as the primary one for its operand.
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>",
"from_address": "<from_address>",
"to_address": "<to_address>"
},
"name": "reference.primary.set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| to_address | Yes | ||
| from_address | Yes | ||
| operand_index | No |