Hello, Can provide the exact text of the error? Other details like hardware and OS information would also be helpful. I was able to compile and run your example without error on my Ubuntu 12.04 (x86/64) machine.
If your assert error looks like "Assertion `rtlib.size()' failed", you need to set the DYNINSTAPI_RT_LIB environment variable to the location of your Dyninst runtime library (a file called libdyninstAPI_RT.so). - Ray On Tue, Apr 15, 2014 at 11:03 PM, 김태환 <[email protected]> wrote: > Hello, I'm Taehwan Kim, a Ph.D student at Hongik University in South Korea. > I read PASTE '11 article about Dyninst, that is so impressive for me. > > I want to do various tests using Dyninst. Dyninst seems to be a very useful > instrumentation tool, but I have several problems while I using this tool. > > I would like to know the destination address of indirect branch instructions > during run-time. So, I'm trying to instrument a short snippet code at the > points targeting indirect branch instructions. I used static instrumentation > methods, but it didn't normally work. Mutator cannot convert a sample binary > to mutatee. > > I saw the error message of function assert(), however, it is difficult to > know exactly what it mean. So, I would like to know your opinion about my > code. > > Best regards. > > - Kim > > _______________________________________________ > Dyninst-api mailing list > [email protected] > https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api _______________________________________________ Dyninst-api mailing list [email protected] https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api
