[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] listing symbols and shared libs in executable



You might be thinking of nm(1). Works only with unstripped executables
though. Another goodie for this is readelf, which will give great gobs
of information even about a stripped executable:

bash-2.04$ readelf -a /bin/ls | wc -l
    322

It has no man page on my (work) RedHat 7.2 system; use "info binutils"
to find out about it.

Other useful hacking --erm-- research utilities include strings(1),
which dumps every string in a random file and strace(1), which is the
Linux synonym for truss.
Run a program under strace and you'll get out a list of every system
call it makes.

-- CHS

-----Original Message-----
From: John Wells [mailto:jbwellsiv at yahoo.com]
To: ale at ale.org
Sent: Thursday, February 14, 2002 9:07 AM
To: ale at ale.org
Subject: [ale] listing symbols and shared libs in executable


What's the utility that allows you to get various info
about a c executable (symbols, libs, etc) ?

Thanks!

John

__________________________________________________
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com

---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems
should be 
sent to listmaster at ale dot org.


---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
sent to listmaster at ale dot org.