Re: [DynInst_API:] Call Redirection to a Library Function

2014-04-29 Thread Bill Williams
On 04/28/2014 05:57 PM, Sergej Proskurin wrote: Hrm. I'm presuming that you mean, quite precisely, modifying the pro/epilogue blocks' contents, not augmenting them? Otherwise function wrapping would do the trick quite nicely, as would various normal snippet-based approaches--parameter, return,

Re: [DynInst_API:] Basic Blocks and Register Access

2014-04-29 Thread Bill Williams
On 04/28/2014 05:37 PM, Sergej Proskurin wrote: Dear Bill, When you say this crashes with a segfault at the point of insertion, do you mean the mutator crashes when inserting the code, or the mutatee crashes when executing it? In either case, a stack trace will be helpful; in the latter case