Re: [DynInst_API:] Is there any way to get the mapping information between rewrote function and original function


Date: Tue, 17 Mar 2015 11:57:21 -0500
From: Bill Williams <bill@xxxxxxxxxxx>
Subject: Re: [DynInst_API:] Is there any way to get the mapping information between rewrote function and original function
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
[← Prev in Thread] Current Thread [Next in Thread→]