Want to Join Us ?

you'll be able to discuss, share and send private messages.

HELP How do I use DbgXrefGet in python?

Discussion in 'x64dbg Python Help and Releases' started by sven.luebke, Jul 3, 2017.

Share This Page

  1. sven.luebke

    New Member

    Hi all!

    How do I correctly use DbgXrefGet() in python using x64dbgpy? Currently I found three examples only for x64dbgpy, so I don't have a clue.

    Python is reporting:

    C:\Projects\x64dbg_scripts\x64dbg_test.py", line 44, in <module>
    x64dbg.DbgXrefGet(found, MyRefInfo)
    TypeError: in method 'DbgXrefGet', argument 2 of type 'XREF_INFO *'

    I'd like to find the reference of a string. I've found the address of that string, but now I'd like to find all references of that address. Is DbgXrefGet the correct function for that? If not, how can I find them?

    Thank you and best regards,
    Last edited: Jul 3, 2017
  2. storm shadow

    Techbliss Owner Admin Ida Pro Expert Developer

    ill will check it up, the api is undergoing some changes recently.
  3. storm shadow

    Techbliss Owner Admin Ida Pro Expert Developer

    as far as i can see the callback from the DbgXrefGet havent yet been made, what submodule are you using for the DbgXrefGet.
  4. sven.luebke

    New Member

    Oh, ok! So currently it can't work? What do you mean by submodule?