get_xrefs_to_field
Find all cross-references to a specific struct field in IDA Pro, enabling efficient reverse engineering and analysis of struct member usage.
Instructions
Get all cross references to a named struct field (member)
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": {
"struct_name": "<struct_name>",
"field_name": "<field_name>"
},
"name": "get_xrefs_to_field"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| field_name | Yes | Name of the field (member) to get xrefs to | |
| struct_name | Yes | Name of the struct (type) containing the field |