Joseph Koshy f6c0f35e07 Keep shadow copies of the e_shnum', e_phnum' and `e_shstrndx'
members of the ELF Executable Header inside the library-private
`struct _Elf' descriptor and only update the underlying Elf{32,64}_Ehdr
structure on an elf_update(3) call.  These fields of the Ehdr
structure are technically `out of bounds' for an application program
per the ELF(3) API, but we've seen applications that initialize
a new Ehdr structure using memcpy(), messing up the library's
invariants. [1]

Implement elf_getphnum() and handle ELF objects with more than
64K program header table entries.

Reported by:	jb [1]
2006-12-25 02:22:22 +00:00
..
2006-09-17 21:27:35 +00:00
2006-10-09 05:12:54 +00:00
2006-07-27 04:54:03 +00:00
2006-07-27 04:54:03 +00:00
2006-04-13 08:12:31 +00:00
2006-09-17 21:27:35 +00:00
2006-12-06 06:44:20 +00:00
2006-09-21 01:30:04 +00:00
2006-09-17 21:27:35 +00:00
2006-03-16 15:18:17 +00:00
2006-10-28 10:53:39 +00:00
2006-10-20 14:15:42 +00:00
2006-10-21 15:12:36 +00:00
2006-07-28 21:34:37 +00:00
2006-03-23 14:09:21 +00:00