On 03/17/2015 11:45 AM, Xi Chen wrote:
Hi,
I wonder if there are any debug flag or run-time ENV can tell the
mapping information between the original function and the copied
function inside the dyninstInst section. Or even the instruction mapping
information like how the instruction being adjust when certain
trampoline code is added.
Thanks in advance.
DYNINST_DEBUG_RELOC (for relocated code) and DYNINST_DEBUG_SPRINGBOARD
(for springboard branches) should tell you everything you need if you
enable them during the rewriting process. There are no flags that will
have the same effect on a rewritten binary when you run it, though.
--
Best Regards
X.Chen
_______________________________________________
Dyninst-api mailing list
Dyninst-api@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api
--
--bw
Bill Williams
Paradyn Project
bill@xxxxxxxxxxx
|