Hi, I've encountered the following error while running the retee.C sample application given in Appendix A of the DyninstAPI manual:
Attaching to process 2232... --SERIOUS-- #0: Dyninst was unable to load the dyninst runtime library into the application. This may be caused by statically linked executables, or by having dyninst linked against a different version of libelf than it was built with. --FATAL-- #68: Dyninst was unable to attach to the specified process --FATAL-- #68: src\BPatch.C[1040]: no process 2232 defined in procsByPid This error seems to have also been encountered on RHL a few months ago according to this bug post: https://bugzilla.redhat.com/show_bug.cgi?id=1005892 My host OS is: Win 7 32-bit Steps to reproduce the error: * Download and install DyninstAPI 8.1.2 via MSI installer * Set environment variables: * DYNINST_LIB to value C:\Program Files\Paradyn\Dyninst\lib * DYNINSTAPI_RT_LIB to value %DYNINST_LIB%\DyninstAPI_RT.dll * Download and unpack current Boost release 1.55.0 * Copy the boost folder (sources/header files) to C:\Program Files\Paradyn\Dyninst\include\ (otherwise later compilation step fails because boost headers are missing) * Create a new empty C++ project in VisualStudio 2013 * Copy retee.c code from Appendix A into a new .cpp file * Set Additional Include Directories to include C:\Program Files\Paradyn\Dyninst\include\ * Set Additional Library Dependencies to include C:\Program Files\Paradyn\Dyninst\lib\ * Added Linker > Additional Dependencies: dyninstAPI.lib, dbghelp.lib * Build and run retee.exe <pid> <output-filename> on running process (in my case this process was calc.exe) I'm a new to Dyninst, so I would appreciate any constructive suggestion, that would help me overcome this error. Thanks, Sebastian * German - detected * English * German * English * German <javascript:void(0);>
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ Dyninst-api mailing list Dyninst-api@cs.wisc.edu https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api