Wednesday, February 23, 2005

5.1. nm command

The nm(1) command can report the list of symbols in a given library. It works on both static and shared
libraries. For a given library nm(1) can list the symbol names defined, each symbol's value, and the symbol's
type. It can also identify where the symbol was defined in the source code (by filename and line number), if
that information is available in the library (see the -l option).