Re: [DynInst_API:] rewritten binary returning symbol lookup error.


Date: Thu, 09 Jan 2014 10:49:47 -0600
From: Bill Williams <bill@xxxxxxxxxxx>
Subject: Re: [DynInst_API:] rewritten binary returning symbol lookup error.
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@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api



--
--bw

Bill Williams
Paradyn Project
bill@xxxxxxxxxxx
[← Prev in Thread] Current Thread [Next in Thread→]