Re: [DynInst_API:] Basic Blocks and Register Access

2014-05-01 Thread Sergej Proskurin
Dear Bill, This seems unusual, and suggests that there's some memory corruption going on somewhere. Any chance you can run this under valgrind and send me the results? sure, the following provides the valgrind --leak-check=full dump of the following code snippet: --- ...

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

2014-05-01 Thread Sergej Proskurin
Dear Bill, Functionally equivalent (at least re: what we do/don't allow); you're trying to allocate space specifically on the stack. There are quite a few ways to go about this, but none of them are through the BPatch interface as it currently exists. You may find it easier to extend the