get_xrefs_to_field
Find all cross references to a specific struct field in IDA Pro to analyze how a binary accesses or modifies that data member.
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 |
|---|---|---|---|
| struct_name | Yes | Name of the struct (type) containing the field | |
| field_name | Yes | Name of the field (member) to get xrefs to |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |