Re: [DynInst_API:] Dyninst binary rewriting and ldd/gdb problem

2014-08-20 Thread Bill Williams
On 08/20/2014 01:36 PM, Mohamed Elsabagh wrote: Hello everyone, I am having a problem with binaries rewritten by Dyninst. Both ldd and gdb cannot handle the rewritten binaries. Specifically, ldd says that the binaries are not dynamically linked, and gcc does not correctly disassemble them (some

[DynInst_API:] Dyninst binary rewriting and ldd/gdb problem

2014-08-20 Thread Mohamed Elsabagh
Hello everyone, I am having a problem with binaries rewritten by Dyninst. Both ldd and gdb cannot handle the rewritten binaries. Specifically, ldd says that the binaries are not dynamically linked, and gcc does not correctly disassemble them (some bad instructions and garbled backtraces). This hap