summaryrefslogtreecommitdiffstats
path: root/usr.bin/nm/nm.c
AgeCommit message (Expand)AuthorFilesLines
2019-03-03on malloc(3) failure, gracefully abort processing of the current fileschwarze1-1/+2
2017-10-27Use <elf.h> instead of <elf_abi.h>mpi1-2/+2
2017-09-12Include room for NUL-termination when calculating the length of archivempi1-3/+3
2015-12-09Remove NULL-checks before free(). ok tb@mmcc1-5/+3
2015-11-13ratchet pledge from the start; from Theo Buehlerderaadt1-2/+8
2015-10-09Change all tame callers to namechange to pledge(2).deraadt1-3/+3
2015-10-05tame "stdio rpath" works fine, as long as we sidestep the demanglingderaadt1-1/+5
2015-08-13Grow -P (POSIX output) and -t (POSIX output radix) support. Several 3rd-partymiod1-55/+89
2015-05-17Add 'D' to usage optstring. Prodded by jmc@guenther1-2/+2
2015-05-17Add -D option for displaying the dynamic symbol tableguenther1-3/+7
2015-04-09ELF weak symbols are _not_ like a.out indirect symbols. Nothing in ELF is,guenther1-15/+4
2015-04-08Delete another piece of a.out detritusguenther1-10/+1
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt1-2/+2
2014-04-28Ignore IRIX6-compatible archive map on mips64 platform, since the mips64miod1-1/+9
2013-11-26unsigned char casts for ctypederaadt1-2/+2
2013-11-12avoid math on void * pointers; delete an unused variablederaadt1-4/+6
2013-11-12remove more code accidentally left behind during the a.out purgederaadt1-4/+1
2013-10-24Redo 1.34+1.35, but ignore incorrect files in show_file() as done in 1.33.miod1-209/+23
2013-10-24back out to 1.33, subtle bug being hunted...deraadt1-22/+212
2013-10-21remove a space that snuck into the outputderaadt1-2/+2
2013-10-19Remove a.out/stab knowledge from nm.deraadt1-212/+22
2011-02-06- nm -s omitted the symbol list for first object file in an archive. fix thisjasper1-2/+6
2009-10-27nm -V is silly, and prining the rcsid even more soderaadt1-18/+3
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgderaadt1-4/+4
2007-08-06the ellipsis is not an optional argument; while here, sync the usagesobrado1-3/+3
2005-01-03don't try to demangle C symbols if we're ELF.espie1-9/+9
2004-10-10now that no cpu assumptions are left in -- remove the cross-gluemickey1-7/+2
2004-10-09move out elf code into elf.c and generate 32 and 64 versions of it;mickey1-198/+83
2004-07-11need to byteswap string table size before use for the alien endian a.outmickey1-2/+3
2004-05-04spacingderaadt1-12/+12
2004-04-29Correctly report empty a.out objects as "no name list" instead of "bad format".miod1-6/+11
2004-01-14Fix the mmap case; inadequate testing on my part!millert1-18/+17
2004-01-14Fallback to malloc + pread if mmap fails; fixes "nm /dev/ksyms". OK mickey@millert1-39/+49
2004-01-13kill unused local vars; from deraadt@mickey1-3/+3
2004-01-05nm digs elf and merges w/ size; millert@ okmickey1-196/+686
2003-06-10mostly ansi cleanup; pval okderaadt1-34/+17
2003-06-03Remove the advertising clause in the UCB license which Berkeleymillert1-7/+3
2003-04-05snprintf; ok miod ho henningderaadt1-4/+6
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert1-14/+14
2001-11-19kill more registersmpech1-3/+3
2001-08-17Some missing protos. Use macros from <link.h> instead of rolling our own.espie1-20/+14
2001-08-17Show indirect symbols in -e mode.espie1-42/+69
2001-08-16-e switch, show extra symbol information such as weak symbol status.espie1-4/+38
2001-05-31- remove erealloc() wrapper functionsmart1-19/+8
2001-02-18-C support.espie1-22/+63
2000-11-10seperate -> separate, okay aaron@provos1-3/+3
1999-05-10Fixes endianess problems with old a.out tools. This makes buildingespie1-15/+15
1998-05-11Build nm ok for cross-envsniklas1-2/+7
1997-05-31warn instead of warnx; kleinkderaadt1-3/+3
1997-04-04check MID field like strip(1) does; PR#149, mickey; fix by mederaadt1-3/+9