|
From: Julian S. <js...@ac...> - 2007-01-01 17:34:18
|
> A nice solution would be not to instrument any code in the .plt section > from within the drd tool. Do you know whether the original (untranslated) > instruction address is accessible from within a tool's instrumentation > function, such that it can be passed to VG_(seginfo_sect_kind)() ? Yes, the IR for each instruction begins with an Ist_IMark which says exactly the address and size of the instruction. Search for "IMark" in libvex_ir.h. J |