Uruchomienie, wykonanie: nm [options] [objfiles]
Jak działa NM, co robi NM: Print the symbol table in alphabetical order from one or more object files. If no object files are specified, perform operations on a.out. Output includes each symbol's value, type, size, name, and so on. A key letter categorizing the symbol can also be displayed
Dostępne opcje, wywołanie NM: Print debugger symbols. Display only defined symbols. Specify output format (bsd, sysv, or posix). Default is bsd. Print external symbols only. Print help message, then exit. Print source filenames and line numbers for each symbol from available debugging information. Sort the external symbols by address. Don't sort the symbols at all. Sort in reverse, alphabetically or numerically. Include mappings stored by ar and ranlib when printing archive symbols. Sort by size. Use the specified radix for printing symbol values. Accepted values are d for decimal, o for octal, and x for hexadecimal. Specify an object code format other than the system default. Report only the undefined symbols. Print input filenames before each symbol. Same as --format=bsd. Translate low-level symbol names into readable versions. You may specify a style to use when demangling symbol names from a foreign compiler. Print dynamic, not normal, symbols. Useful only when working with dynamic objects (some kinds of shared libraries, for example). Same as -f posix. Print the size of defined symbols. Print nm's version number on standard error.
Użycie NM zastosowanie komendy na linii poleceńw Słownik N .