$ whatis nm

nm (1) - list symbols from object files

Examples:

  1. Usage: nm [option(s)] [file(s)]
  2. List symbols in [file(s)] (a.out by default).
  3. The options are:
  4. -a, --debug-syms Display debugger-only symbols
  5. -A, --print-file-name Print name of the input file before every symbol
  6. -B Same as --format=bsd
  7. -C, --demangle[=STYLE] Decode low-level symbol names into user-level names
  8. The STYLE, if specified, can be `auto' (the default),
  9. `gnu', `lucid', `arm', `hp', `edg', `gnu-v3', `java'
  10. or `gnat'
  11. --no-demangle Do not demangle low-level symbol names
  12. --recurse-limit Enable a demangling recursion limit. This is the default.
  13. --no-recurse-limit Disable a demangling recursion limit.
  14. -D, --dynamic Display dynamic symbols instead of normal symbols
  15. --defined-only Display only defined symbols
  16. -e (ignored)
  17. -f, --format=FORMAT Use the output format FORMAT. FORMAT can be `bsd',
  18. `sysv' or `posix'. The default is `bsd'
  19. -g, --extern-only Display only external symbols
  20. -l, --line-numbers Use debugging information to find a filename and
  21. line number for each symbol
  22. -n, --numeric-sort Sort symbols numerically by address
  23. -o Same as -A
  24. -p, --no-sort Do not sort the symbols
  25. -P, --portability Same as --format=posix
  26. -r, --reverse-sort Reverse the sense of the sort
  27. --plugin NAME Load the specified plugin
  28. -S, --print-size Print size of defined symbols
  29. -s, --print-armap Include index for symbols from archive members
  30. --size-sort Sort symbols by size
  31. --special-syms Include special symbols in the output
  32. --synthetic Display synthetic symbols as well
  33. -t, --radix=RADIX Use RADIX for printing symbol values
  34. --target=BFDNAME Specify the target object format as BFDNAME
  35. -u, --undefined-only Display only undefined symbols
  36. --with-symbol-versions Display version strings after symbol names
  37. -X 32_64 (ignored)
  38. @FILE Read options from FILE
  39. -h, --help Display this information
  40. -V, --version Display this program's version number
  41. nm: supported targets: elf64-x86-64 elf32-i386 elf32-iamcu elf32-x86-64 a.out-i386-linux pei-i386 pei-x86-64 elf64-l1om elf64-k1om elf64-little elf64-big elf32-little elf32-big pe-x86-64 pe-bigobj-x86-64 pe-i386 plugin srec symbolsrec verilog tekhex binary ihex
  42. Report bugs to .

Please click on " man nm " to see the Manual Page for this command.

Please click on " nm in PDF " format.