Date: | Wed, 8 Jan 2014 07:31:53 -0500 |
---|---|
From: | "Frank Ch. Eigler" <fche@xxxxxxxxxx> |
Subject: | Re: [DynInst_API:] Is DynInst_API the right tool for a simple binary rewriting task? If not, what is? |
Hi - On Tue, Jan 07, 2014 at 07:02:38PM -0600, Chad Renton wrote: > [...] > Well, I suppose I should take a step back. I really wish to call a > script at that point in the binary, and am thinking the best way to do > this is to insert arbitrary code. I'd like it if the script could > take the arguments to the function call, but it's not completely > necessary. This is wel within dyninst's capabilities, because systemtap's --runtime=dyninst mode demonstrates just this sort of scripting: intercepting functions or statements within functions, doing some work with their local variables, then returning control. - FChE |
[← Prev in Thread] | Current Thread | [Next in Thread→] |
---|---|---|
|
Previous by Date: | Re: [DynInst_API:] Is DynInst_API the right tool for a simple binary rewriting task? If not, what is?, E.Robbins |
---|---|
Next by Date: | [DynInst_API:] rewritten binary returning symbol lookup error., J. Benton |
Previous by Thread: | Re: [DynInst_API:] Is DynInst_API the right tool for a simple binary rewriting task? If not, what is?, E.Robbins |
Next by Thread: | [DynInst_API:] libcommon.so -> undefined reference to `cplus_demangle', Jim Galarowicz |
Indexes: | [Date] [Thread] |