summaryrefslogtreecommitdiff
path: root/usr.bin/nm/elf.c
AgeCommit message (Expand)Author
2015-12-09Remove NULL-checks before free(). ok tb@mmcc
2015-08-13Grow -P (POSIX output) and -t (POSIX output radix) support. Several 3rd-partyMiod Vallat
2015-06-23This patch ensure that when an error is detected, the freed variables insemarie
2015-06-23This patch ensure that e_shentsize (sections header's size in bytes) issemarie
2015-06-23corrects a read after bound that occurs in strcmp (line justsemarie
2015-06-23add some check before accessing data:semarie
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-02-06SIZE_MAX is standard, we should be using it in preference to theTodd C. Miller
2015-01-19Missing initialization; tjenahej@speedmail.seMiod Vallat
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2013-11-26unsigned char casts for ctypeTheo de Raadt
2013-11-13proto and such cleanupTheo de Raadt
2013-03-30Correctly report `weak' status of non-function symbols. Makes nm agree withMiod Vallat
2011-09-28Support symbols in .tbss and .tdata ELF sectionsUwe Stuehler
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2007-04-18Fix a NULL dereference if the symbol table size is zero; ok millert@ deraadt@Miod Vallat
2007-02-08Do all allocation and deallocation of shstr in elf_symload() toRay Lai
2007-02-07check st_name validity also check for overflow and not only for zero; found b...Michael Shalayeff
2006-09-30Some fixes for running nm on ELF binaries.Mark Kettenis
2005-01-19Add elf{32,64}_load_phdrs() for loading program headers.Alexander Yurchenko
2004-10-11add rcisd[]Michael Shalayeff
2004-10-10parse the cpu-specific ids based on the e_machineMichael Shalayeff
2004-10-09move out elf code into elf.c and generate 32 and 64 versions of it;Michael Shalayeff
2004-10-09factor out code for mapping section index into nlist typeMichael Shalayeff
2004-08-20grok STT_SECTION and beautify STT_OBJECTMichael Shalayeff
2004-08-19STT_FUNC can be an absolute tooMichael Shalayeff
2004-05-04dig .plt*, .got*, .init, .fini sectionsMichael Shalayeff
2004-03-30no need to force N_EXT as deducted later from typeMichael Shalayeff
2004-03-30there is more than one way to define symbol type in elf...; kill a debugging ...Michael Shalayeff
2004-03-30translate names in .sbss section as static N_BSS; found by drahn@Michael Shalayeff
2004-01-13kill unused local vars; from deraadt@Michael Shalayeff
2004-01-05nm digs elf and merges w/ size; millert@ okMichael Shalayeff