]> git.ipfire.org Git - thirdparty/valgrind.git/commit
ML_(read_elf_debug_info): when processing PT_LOAD entries from the
authorJulian Seward <jseward@acm.org>
Thu, 2 Jun 2011 10:06:25 +0000 (10:06 +0000)
committerJulian Seward <jseward@acm.org>
Thu, 2 Jun 2011 10:06:25 +0000 (10:06 +0000)
commit35756a6d623d4acdbb398c8a8fdb1ecb1e8b819d
tree75c9ef06f4b9a3c79cd56e145e1721d72830e5bf
parent68f57d0181acae56adf05e0987990c2b41081f48
ML_(read_elf_debug_info): when processing PT_LOAD entries from the
program header, don't make the following assumptions

- that there is only one r-x and one rw- entry

- that the r-x entry appears before the rw- entry

This makes it possible to handle ELF objects processed by Mike
Hommey's elfhack program.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11794
coregrind/m_debuginfo/readelf.c