Print the symbol table (name list) in alphabetical order for one or more object files (usually ELF or COFF files), shared or static libraries, or binary executable programs. Output includes each symbol's value, type, size, name, etc. A key letter categorizing the symbol can also be displayed. You must supply at least one object file.
On Solaris, nm is in
Write the full pathname or library name on each line.
Write only external (global) symbol information.
Print output in the POSIX portable format.
Write numeric values in the specified
d for decimal,
o for octal, and
x for hexadecimal.
Report only the undefined symbols.
Print demangled C++ symbol names. GNU/Linux lets you supply the appropriate demangling style.
Print dynamic, not normal, symbols. Useful only when working with dynamic objects (some kinds of shared libraries, for example).
Print nm's version number on standard error.
Print debugger symbols.
Sort the external symbols numerically, not by name.
Don't sort the symbols; print them in the order they are found in the object file.
Sort in reverse order.
Report only external and static symbols; obsolete.
Report all ...