Jump to content
Tuts 4 You

DbgXrefGet not work


minh

Recommended Posts

Posted

I wanna write a plugin in which DbgXrefGet is used, but it didn't work. Below is my code:

    XREF_INFO xref_info;
    DbgXrefGet(eip, &xref_info);
    for (int i = 0; i < xref_info.refcount; i++) {
        _plugin_logprintf("XREF Address: %d\n", xref_info.references[i].addr);
    }

and the  xref_info.refcount equals to 0 all the time

  • 1 month later...
Posted

finally, I know the answer. The DbgXrefGet only works after the "analxrefs" command executed.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...