summaryrefslogtreecommitdiff
path: root/usr.bin/nm/elf.c
AgeCommit message (Expand)Author
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