Difference between revisions of "Nm"

From Linuxintro
imported>ThorstenStaerk
imported>ThorstenStaerk
 
Line 16: Line 16:
 
* [[ldd]]
 
* [[ldd]]
 
* [[libraries]]
 
* [[libraries]]
* [http://man-wiki.net/index.php/1:nm nm's man page]
+
* [http://unixhelp.ed.ac.uk/CGI/man-cgi?nm nm's man page]

Latest revision as of 05:42, 19 April 2014

nm is a tool that lists the names of functions exported by a binary file.

For example

# nm /usr/lib/qt3/lib/libqassistantclient.a

gives a list of functions that contains:

00000350 T _ZN16QAssistantClient2trEPKcS1_
000004d0 T _ZN16QAssistantClient5errorERK7QString
000003e0 T _ZN16QAssistantClient6trUtf8EPKcS1_
00000000 B _ZN16QAssistantClient7metaObjE
00000210 T _ZN16QAssistantClient7qt_castEPKc
00000540 T _ZN16QAssistantClient7qt_emitEiP8QUObject
         U _ZN16QAssistantClient8readPortEv
         U _ZN16QAssistantClient8showPageERK7QString

See also