nm
[options
]objfiles
Print the symbol table (name list) in alphabetical order for one or more object files (usually ELF or COFF files). Output includes each symbol's value, type, size, name, etc. A key letter categorizing the symbol can also be displayed. Output includes each symbol's value and name, preceded by a key letter categorizing the symbol. If no object file is given, use a.out.
Report only external and static symbols; obsolete.
Report all information; obsolete.
Suppress the header.
Use with -p; indicate WEAK symbols by appending
an asterisk (*
) to key letters.
Sort the external symbols by name.
Report values in octal.
Precede each symbol with its key letter (used for parsing).
Report the object file's name on each line.
Truncate the symbol name in the display; obsolete.
Report only the undefined symbols.
Sort the external symbols by value.
Print nm's version number on standard error.
Report values in hexadecimal.
Absolute symbol.
Common symbol.
Data object symbol.
File symbol.
Symbol with no type.
Section symbol.
Text symbol.
Undefined symbol.