summaryrefslogtreecommitdiff
path: root/usr.bin/nm/nm.c
AgeCommit message (Expand)Author
2019-03-03on malloc(3) failure, gracefully abort processing of the current fileIngo Schwarze
2017-10-27Use <elf.h> instead of <elf_abi.h>Martin Pieuchot
2017-09-12Include room for NUL-termination when calculating the length of archiveMartin Pieuchot
2015-12-09Remove NULL-checks before free(). ok tb@mmcc
2015-11-13ratchet pledge from the start; from Theo BuehlerTheo de Raadt
2015-10-09Change all tame callers to namechange to pledge(2).Theo de Raadt
2015-10-05tame "stdio rpath" works fine, as long as we sidestep the demanglingTheo de Raadt
2015-08-13Grow -P (POSIX output) and -t (POSIX output radix) support. Several 3rd-partyMiod Vallat
2015-05-17Add 'D' to usage optstring. Prodded by jmc@Philip Guenther
2015-05-17Add -D option for displaying the dynamic symbol tablePhilip Guenther
2015-04-09ELF weak symbols are _not_ like a.out indirect symbols. Nothing in ELF is,Philip Guenther
2015-04-08Delete another piece of a.out detritusPhilip Guenther
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-04-28Ignore IRIX6-compatible archive map on mips64 platform, since the mips64Miod Vallat
2013-11-26unsigned char casts for ctypeTheo de Raadt
2013-11-12avoid math on void * pointers; delete an unused variableTheo de Raadt
2013-11-12remove more code accidentally left behind during the a.out purgeTheo de Raadt
2013-10-24Redo 1.34+1.35, but ignore incorrect files in show_file() as done in 1.33.Miod Vallat
2013-10-24back out to 1.33, subtle bug being hunted...Theo de Raadt
2013-10-21remove a space that snuck into the outputTheo de Raadt
2013-10-19Remove a.out/stab knowledge from nm.Theo de Raadt
2011-02-06- nm -s omitted the symbol list for first object file in an archive. fix thisJasper Lievisse Adriaanse
2009-10-27nm -V is silly, and prining the rcsid even more soTheo de Raadt
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2007-08-06the ellipsis is not an optional argument; while here, sync the usageIgor Sobrado
2005-01-03don't try to demangle C symbols if we're ELF.Marc Espie
2004-10-10now that no cpu assumptions are left in -- remove the cross-glueMichael Shalayeff
2004-10-09move out elf code into elf.c and generate 32 and 64 versions of it;Michael Shalayeff
2004-07-11need to byteswap string table size before use for the alien endian a.outMichael Shalayeff
2004-05-04spacingTheo de Raadt
2004-04-29Correctly report empty a.out objects as "no name list" instead of "bad format".Miod Vallat
2004-01-14Fix the mmap case; inadequate testing on my part!Todd C. Miller
2004-01-14Fallback to malloc + pread if mmap fails; fixes "nm /dev/ksyms". OK mickey@Todd C. Miller
2004-01-13kill unused local vars; from deraadt@Michael Shalayeff
2004-01-05nm digs elf and merges w/ size; millert@ okMichael Shalayeff
2003-06-10mostly ansi cleanup; pval okTheo de Raadt
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-04-05snprintf; ok miod ho henningTheo de Raadt
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-11-19kill more registersMike Pechkin
2001-08-17Some missing protos. Use macros from <link.h> instead of rolling our own.Marc Espie
2001-08-17Show indirect symbols in -e mode.Marc Espie
2001-08-16-e switch, show extra symbol information such as weak symbol status.Marc Espie
2001-05-31- remove erealloc() wrapper functionsmart
2001-02-18-C support.Marc Espie
2000-11-10seperate -> separate, okay aaron@Niels Provos
1999-05-10Fixes endianess problems with old a.out tools. This makes buildingMarc Espie
1998-05-11Build nm ok for cross-envsNiklas Hallqvist
1997-05-31warn instead of warnx; kleinkTheo de Raadt
1997-04-04check MID field like strip(1) does; PR#149, mickey; fix by meTheo de Raadt