summaryrefslogtreecommitdiff
path: root/usr.bin/nm/nm.c
AgeCommit message (Expand)Author
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
1997-01-15getopt(3) returns -1 when out of args, not EOF, whee!Todd C. Miller
1996-06-26rcsidTheo de Raadt
1996-01-16from netbsd; Use err() & warn()Theo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt