|
From: tejas <kk...@gm...> - 2009-11-04 06:25:57
|
Hi, I am writing a tool to extract dynamic trace from a program run using valgrind. I am using a modified version of lackey to accomplish this. I understand that valgrind prints out the assembly or x86(in this case) instructions of the program when the --profile-flags option is used. I was wondering if there is a way to know what the guest instruction is (like addl $2, %eax), given a particular Imark? Is there a function that can do this? If yes, can i call this function, giving the IMARK information as input, from the instrumentation code? Thanks Tejas |