SDNM(1)

πŸ’… SDNM(1) β€” like, the whole manual bestie πŸ’…

okay so welcome to sdnm, a member of the General Commands Manual squad, and honestly? she's a whole mood. she lists symbols from object files. she's also a part of SDCC, so if you're deep in embedded-land, she's your girl. πŸŽ€


✨ NAME ✨

sdnm β€” list symbols from object files. A part of SDCC.

no cap, that's it, that's the job. πŸ¦‹


🌸 SYNOPSIS 🌸

sdnm [option(s)] [file(s)]

πŸ’– DESCRIPTION πŸ’–

List symbols in [file(s)] β€” and if you don't hand her any files, she defaults to a.out, periodt. The options are:

  • -a, --debug-syms β€” show debugger-only symbols. the nerdy backstage ones πŸ’…
  • -A, --print-file-name β€” print the name of the input file before every single symbol, so you always know who's talking 🫢
  • -B β€” literally the same thing as --format=bsd
  • -C, --demangle[=STYLE] β€” decode low-level symbol names into user-level names. iconic behaviour honestly ✨

The STYLE, if you specify one, can be auto (which is the default, obvs), gnu, lucid, arm, hp, edg, gnu-v3, java, or gnat. so many styles, so little time 🌈

  • --no-demangle β€” do not demangle low-level symbol names. leave them in their raw little cryptic era πŸ’€
  • -D, --dynamic β€” display dynamic symbols instead of normal symbols. main character swap πŸ”₯
  • --defined-only β€” display only defined symbols. no ghosting, only the ones who showed up πŸ‘‘
  • -e β€” (ignored) πŸ™ˆ yeah she just sits there. queen behaviour, refusing to participate
  • -f, --format=FORMAT β€” use the output format FORMAT. FORMAT can be bsd, sysv or posix. the default is bsd πŸ’–
  • -g, --extern-only β€” display only external symbols
  • -l, --line-numbers β€” use debugging information to find a filename and line number for each symbol. she's doing detective work fr fr πŸ”
  • -n, --numeric-sort β€” sort symbols numerically by address
  • -o β€” same as -A
  • -p, --no-sort β€” do not sort the symbols. chaos. respect it πŸŒ€
  • -P, --portability β€” same as --format=posix
  • -r, --reverse-sort β€” reverse the sense of the sort. plot twist energy 😭
  • -S, --print-size β€” print the size of defined symbols
  • -s, --print-armap β€” include index for symbols from archive members
  • --size-sort β€” sort symbols by size. biggest first energy πŸ“
  • --special-syms β€” include special symbols in the output. VIPs only ✨
  • --synthetic β€” display synthetic symbols as well
  • -t, --radix=RADIX β€” use RADIX for printing symbol values
  • --target=BFDNAME β€” specify the target object format as BFDNAME
  • -u, --undefined-only β€” display only undefined symbols. the ones who haven't found themselves yet πŸ¦‹
  • -X 32_64 β€” (ignored) πŸ™ˆ another one just vibing in the corner
  • @FILE β€” read options from FILE
  • -h, --help β€” display this information. she's helpful like that πŸ’œ
  • -V, --version β€” display this program's version number

and bestie, check this out:

/usr/bin/sdnm: supported targets: asxxxx srec symbolsrec binary ihex

those are the supported targets. asxxxx, srec, symbolsrec, binary, ihex. slay. 🧚


😭 REPORTING BUGS 😭

Report bugs to:

<http://sourceforge.net/tracker/?group_id=599@report_bugs_to@atid=100599>

if something's busted, tell the devs, not me, I'm just the messenger 🫢


Copyright 2012 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty.

no warranty at all, bestie. zero. none. if it breaks, it breaks πŸ’€

🌈 SEE ALSO 🌈

The full documentation for nm is maintained as a Texinfo manual. If the info and nm programs are properly installed at your site, the command

info nm

should give you access to the complete manual. iykyk πŸ“–βœ¨


okay that's the whole page!! πŸŽ€ this was page SDNM(1) from the General Commands Manual, and yes the footer says SDNM(1) too because she likes a little symmetry πŸ’– go list some symbols, you're gonna eat, periodt. πŸ’