This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to determine which symbols in a library are used by the client?


On 9/14/07, Rick Mann <rmann@latencyzero.com> wrote:
> I have a 3rd party graphics library and some code that uses it. I
> think we want to replace the graphics library, but we need to see
> what routines are called in it. Is there an easy way to do this?

I sometimes use something like this to satisfy my curiosity:

nm -D /bin/cat

You could list the dynamic symbols in the library too, and then do an
inner join (?) on the two lists.

HTH


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]