-
|
I have a string I would like to find the calling reference to. How can I do this in BN? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Assuming the string is contained in a data variable you can use the cross references widget in the UI, or via scripting by grabbing the data variable and querying the >>> list(current_data_var.code_refs)
[<ref: x86@0x3bdc0>, <ref: x86@0x3bded>, <ref: x86@0x3b8ad>, <ref: x86@0x3b8da>, <ref: x86@0x367cd>, <ref: x86@0x367fa>, <ref: x86@0x37bba>, <ref: x86@0x37be7>, <ref: x86@0x3c030>, <ref: x86@0x3c05d>, <ref: x86@0x3bb3d>, <ref: x86@0x3bb6a>, <ref: x86@0x371bd>, <ref: x86@0x371ea>, <ref: x86@0x3867a>, <ref: x86@0x386a7>]More info: https://docs.binary.ninja/guide/index.html#cross-references |
Beta Was this translation helpful? Give feedback.
-
|
I failed to provide some details, the .bin is for an ARM9 cpu so didn't disasseble much. None of the important strings show a reference. (reference count is 0). I get much the same result in IDA. Neither app seems to parse instructions well. |
Beta Was this translation helpful? Give feedback.

Assuming the string is contained in a data variable you can use the cross references widget in the UI, or via scripting by grabbing the data variable and querying the
code_refsproperty:More info: https://docs.binary.ninja/guide/index.html#cross-references