Xrefs
xrefsReturns analyzed references to a code or data address so you can trace connections between strings, globals, selectors, and functions. Provide an explicit address for headless providers like Ghidra.
Instructions
Return analyzed references to a code or data address. Hopper may default to its current cursor; headless providers such as Ghidra require an explicit address. Use to connect strings, globals, selectors, and functions; bare addresses are untyped and indirect references may be incomplete. Use inspect_native_instruction at the target address for typed incoming references where supported.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "xrefs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | No | A provider-normalized address; default memory uses 0x-prefixed hexadecimal | |
| document | No | The active target's provider document name; use open_binary to switch targets |