About address of instruction
nemare opened this issue · comments
Hello:
May I ask how to get address of instructions like Pin does with INS_Address(ins) ?
Thanks!
If you just want to get the address of the current instruction, you can use
DECAF_getPC().
Heng
On Mon, May 16, 2016 at 2:52 AM nemare notifications@github.com wrote:
Hello:
May I ask how to get address of instructions like Pin does with
INS_Address(ins) ?
Thanks!—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#37
Thank you for your answer! Is DECAF_getPC() the same as params->ib.env->eip in INSN_BEGIN_CB? I found it that they print the same result?
Yes.
On Tue, May 17, 2016, 2:55 AM nemare notifications@github.com wrote:
Thank you for your answer! Is DECAF_getPC() the same as
params->ib.env->eip in INSN_BEGIN_CB? I found it that they print the same
result?—
You are receiving this because you commented.Reply to this email directly or view it on GitHub
#37 (comment)