Difference between revisions of "Nm"

From Linuxintro
imported>ThorstenStaerk
(Created page with "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: 0000...")
 
imported>ThorstenStaerk
 
(2 intermediate revisions by the same user not shown)
Line 12: Line 12:
 
           U _ZN16QAssistantClient8readPortEv
 
           U _ZN16QAssistantClient8readPortEv
 
           U _ZN16QAssistantClient8showPageERK7QString
 
           U _ZN16QAssistantClient8showPageERK7QString
 +
 +
= See also =
 +
* [[ldd]]
 +
* [[libraries]]
 +
* [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