On 01/09/2014 02:55 AM, J. Benton wrote:
Hi everyone,

I'm wondering if you could help me.  Using the examples in the
programmer's manual as a guide, I generated a simple snippet, inserting
a printf call upon each call to a function. After the binary is
rewritten I get this error when it is executed:

symbol lookup error: /usr/lib/libdyninstAPI_RT.so: undefined symbol:
sizeOfAnyHeap1

/usr/lib/libdyninstAPI_RT.so exists.  I've set DYNINST_LIB to /usr/lib.

Any ideas?

sizeOfAnyHeap1 should show up in an nm of your libdyninstAPI_RT.so, and libdyninstAPI_RT.so should show up in an ldd of your rewritten binary, assuming that everything is working correctly. Are either of those not the case for you?

J.
_______________________________________________
Dyninst-api mailing list
Dyninst-api@cs.wisc.edu
https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api



--
--bw

Bill Williams
Paradyn Project
b...@cs.wisc.edu
_______________________________________________
Dyninst-api mailing list
Dyninst-api@cs.wisc.edu
https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api

Reply via email to