EMNM(1)

πŸ’– EMNM(1) β€” the emnm glow-up πŸ’–

User Commands ✨ EMNM(1)

okay bestie, gather round, because this one is the emscripten wrapper around llvm-nm and it is lowkey iconic. let's get into it 🫢


🌸 NAME 🌸

emnm β€” it's the emscripten wrapper around llvm-nm πŸ’… (yes that is literally the whole job and she does it beautifully)


✨ DESCRIPTION ✨

OVERVIEW: LLVM symbol table dumper πŸ”₯

USAGE:

/usr/bin/llvm-nm-21 [options] <input object files>

so real. you hand her some object files, she hands you symbols. that's the vibe. no cap.


πŸŽ€ OPTIONS πŸŽ€

okay buckle up, this is the long part, but every single one is here because I do NOT skip details, that's not the energy we bring πŸ¦‹

  • -A β€” alias for --print-file-name
  • -a β€” alias for --debug-syms
  • -B β€” alias for --format=bsd
  • -C β€” alias for --demangle
  • --debug-syms β€” show ALL the symbols, even the debugger-only ones πŸ‘€
  • --defined-only β€” show only defined symbols
  • --demangle β€” demangle C++ symbol names (her translator era)
  • --dynamic β€” display dynamic symbols instead of the normal ones
  • -D β€” alias for --dynamic
  • --export-symbols β€” export the symbol list for all inputs πŸ“€
  • --extern-only β€” show only external symbols
  • --format=<format> β€” specify the output format. your options are: bsd (the default, the moment), posix, sysv, darwin, just-symbols
  • -f <format> β€” alias for --format
  • -g β€” alias for --extern-only
  • --help β€” display this help 🫢
  • -h β€” alias for --help
  • -j β€” alias for --format=just-symbols
  • --line-numbers β€” uses debugging information to print symbols' filenames and line numbers πŸ”
  • -l β€” alias for --line-numbers
  • -m β€” alias for --format=darwin
  • --no-demangle β€” don't demangle symbol names (we're keeping them mysterious today πŸ’€)
  • --no-llvm-bc β€” disable the LLVM bitcode reader
  • --no-sort β€” show symbols in the order encountered, chaotic and free 🌈
  • --no-weak β€” show only non-weak symbols
  • --numeric-sort β€” sort symbols by address
  • -n β€” alias for --numeric-sort
  • -o β€” alias for --print-file-name
  • --portability β€” alias for --format=posix
  • --print-armap β€” print the archive map πŸ—ΊοΈ
  • --print-file-name β€” precede each symbol with the object file it came from, very "who's your source bestie"
  • --print-size β€” show the symbol size as well as the address
  • -P β€” alias for --format=posix
  • -p β€” alias for --no-sort
  • --quiet β€” suppress the 'no symbols' diagnostic (shhh, no drama 🀫)
  • --radix=<radix> β€” radix (o/d/x) for printing symbol values
  • --reverse-sort β€” sort in reverse order, main character energy πŸ’…
  • -r β€” alias for --reverse-sort
  • --size-sort β€” sort symbols by size
  • --special-syms β€” do not filter special symbols from the output
  • -S β€” alias for --print-size
  • -t <radix> β€” alias for --radix
  • --undefined-only β€” show only undefined symbols
  • -U β€” alias for --defined-only
  • -u β€” alias for --undefined-only
  • --version β€” display the version
  • -V β€” alias for --version
  • -v β€” alias for --numeric-sort
  • -W β€” alias for --no-weak
  • -X <value> β€” specifies the type of ELF, XCOFF, or IR object file to examine. the value must be one of: 32, 64, 32_64, any (default)

πŸ“ llvm-nm Mach-O Specific Options πŸ“

apple-flavored section, let's go 🧚

  • --add-dyldinfo β€” add symbols from the dyldinfo that aren't already in the symbol table
  • --add-inlinedinfo β€” add symbols from the inlined libraries, TBD only
  • --arch=<value> β€” architecture(s) from a Mach-O file to dump
  • --dyldinfo-only β€” show only symbols from the dyldinfo
  • --no-dyldinfo β€” don't add any symbols from the dyldinfo
  • -s β€” dump only symbols from this segment and section name
  • -x β€” print the symbol entry in hex πŸ”’

πŸ’œ llvm-nm XCOFF Specific Options πŸ’œ

  • --no-rsrc β€” exclude resource file symbols (__rsrc) from the export symbol list.

πŸ“₯ one more thing πŸ“₯

pass @FILE as an argument to read options from FILE πŸ‘‘ (yes, like a little options snack you feed her from a text file, obsessed)


🫢 reminder bestie: every flag, every default, every value above is exactly as written in the original. do not freestyle with these, she's sensitive about it.

emnm 6.0.5+dfsg+~1.41.5 β€” August 2026 β€” EMNM(1) ✨ that's the version, that's the date, that's the wrap, mwah πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from