Simplify iterating over the dynamic section and report broken ones.
authorRafael Espindola <rafael.espindola@gmail.com>
Mon, 20 Jul 2015 21:23:29 +0000 (21:23 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Mon, 20 Jul 2015 21:23:29 +0000 (21:23 +0000)
commitd94e17bde92fe7e4411cf07b0cebaa772fc808ad
tree56b68bcf2899eabdd12625288a1dfa5ea448ecf2
parent703ff349acb4dedb884f617e84dc5ec4560173ca
Simplify iterating over the dynamic section and report broken ones.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@242712 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Object/ELF.h
include/llvm/Object/ELFObjectFile.h
test/Object/Inputs/corrupt-invalid-dynamic-table-size.elf.x86-64 [new file with mode: 0755]
test/Object/corrupt.test