OS Manuals

/usr/bin/eu-nm

Utilities and DSOs to handle ELF files and DWARF data

From elfutils 0.197-r0 (os), captured 2026-11-05 by running eu-nm --help (exit 0). permalink

Usage: eu-nm [OPTION...] [FILE...]
List symbols from FILEs (a.out by default).

 Output selection:
  -a, --debug-syms           Display debugger-only symbols
      --defined-only         Display only defined symbols
  -D, --dynamic              Display dynamic symbols instead of normal symbols
  -g, --extern-only          Display only external symbols
  -s, --print-armap          Include index for symbols from archive members
  -u, --undefined-only       Display only undefined symbols

 Output format:
  -A, --print-file-name      Print name of the input file before every symbol
  -B                         Same as --format=bsd
  -f, --format=FORMAT        Use the output format FORMAT.  FORMAT can be
                             `bsd', `sysv' or `posix'.  The default is `sysv'
      --mark-special         Mark special symbols
  -P, --portability          Same as --format=posix
  -S, --print-size           Print size of defined symbols
  -t, --radix=RADIX          Use RADIX for printing symbol values


 Output formatting
      --color[=WHEN]         colorize the output.  WHEN defaults to 'always' or
                             can be 'auto' or 'never'

 Output options:
  -C, --demangle             Decode low-level symbol names into source code
                             names
  -n, --numeric-sort         Sort symbols numerically by address
  -p, --no-sort              Do not sort the symbols
  -r, --reverse-sort         Reverse the sense of the sort

 Miscellaneous:

  -?, --help                 Give this help list
      --usage                Give a short usage message
  -V, --version              Print program version

Mandatory or optional arguments to long options are also mandatory or optional
for any corresponding short options.

Report bugs to https://sourceware.org/bugzilla.
Options (21)
OptionDescriptionSource
-a, --debug-symsDisplay debugger-only symbolshelp
--defined-onlyDisplay only defined symbolshelp
-D, --dynamicDisplay dynamic symbols instead of normal symbolshelp
-g, --extern-onlyDisplay only external symbolshelp
-s, --print-armapInclude index for symbols from archive membershelp
-u, --undefined-onlyDisplay only undefined symbolshelp
-A, --print-file-namePrint name of the input file before every symbolhelp
-BSame as --format=bsdhelp
-f, --format FORMATUse the output format FORMAT.help
--mark-specialMark special symbolshelp
-P, --portabilitySame as --format=posixhelp
-S, --print-sizePrint size of defined symbolshelp
-t, --radix RADIXUse RADIX for printing symbol valueshelp
--color WHENcolorize the output.help
-C, --demangleDecode low-level symbol names into source code nameshelp
-n, --numeric-sortSort symbols numerically by addresshelp
-p, --no-sortDo not sort the symbolshelp
-r, --reverse-sortReverse the sense of the sorthelp
-?, --helpGive this help listhelp
--usageGive a short usage messagehelp
-V, --versionPrint program versionhelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.