You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got binary file with debugging information and would like to find all cross-references to an existing field, that added automatically during the first analysis
The text was updated successfully, but these errors were encountered:
Could you demonstrate an example with that problem? I'm not sure that I correctly get it.
If it is related to not being able to scan struct pointers that only declared but not defined then you may find useful setting scan_any_type = False in $IDA_DIR/cfg/HexRaysPyTools.cfg
Let's look at the real case. This program is compiled with debugging information and all types are already known after analysis. However, option "deep scan variable" can't find all xrefs to Foo.x until you decompile all functions that reletated to it
#include<cstdio>classFoo {
public:int x, y, z;
Foo(int x, int y, int z) : x(x), y(y), z(z) {} //xref to Foo.xvoidplus(int x1) {
this->x += x1; //xref to Foo.x
}
voidminus(int x1) {
this->x -= x1 * 2; //xref to Foo.x
}
};
intmain() {
Foo foo = Foo(10, 20, 30);
foo.plus(10);
foo.minus(10);
printf("%d, %d, %d\n", foo.x, foo.y, foo.z); //xref to Foo.xreturn0;
}
I got binary file with debugging information and would like to find all cross-references to an existing field, that added automatically during the first analysis
The text was updated successfully, but these errors were encountered: