linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* link table
@ 2006-07-04 14:31 Mihai Dontu
  2006-07-12 21:15 ` Daniel Bonekeeper
  0 siblings, 1 reply; 2+ messages in thread
From: Mihai Dontu @ 2006-07-04 14:31 UTC (permalink / raw)
  To: linux-c-programming

Hi,

Does anyone know a tool which I can use to dump the link table?

Basically I want to know how symbols were resolved. Such a tool should 
display:
  - the name of the symbol
  - the type of the symbol (T,U - see man nm)
  - the address of the symbol (as set by the dynamic linker)
  - the module in which this the symbol's address is located

Eg:

myprocess
   U strcmp 0x0040500f (/lib/libc.so)

Why do I want such a tool?
  - I have this program that loads several shared objects (plugins) and 
sometimes the linker resolves the syms in a wrong way making the program 
misbehave (i.e. some plugins have syms with the same name, but they do 
different things - I can not change this because the plugins are third 
party (and closed source)).

Thanks in advance.

M.D.


-- 
This message was scanned for spam and viruses by BitDefender.
For more information please visit http://www.bitdefender.com/


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-07-12 21:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-04 14:31 link table Mihai Dontu
2006-07-12 21:15 ` Daniel Bonekeeper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).