Files
archived-llvm/test/Object/Inputs
George Rimar a281f4e2f6 [Object/ELF] - Do not crash on invalid Header->e_shoff value.
sections_begin() may return unalignment pointer when Header->e_shoff isinvalid.
That may result in a crash in clients, for example we have one in LLD:

assert((PtrWord & ~PointerBitMask) == 0 &&
       "Pointer is not sufficiently aligned");
fails when trying to push_back Elf_Shdr* (unaligned) into TinyPtrVector.

Patch forces check for alignment of Header->e_shoff.

Differential revision: https://reviews.llvm.org/D25368

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@283740 91177308-0d34-0410-b5e6-96231b3b80d8
2016-10-10 10:51:38 +00:00
..
2013-06-12 00:01:26 +00:00
2014-06-16 16:41:00 +00:00
2014-12-04 09:20:13 +00:00
2014-11-03 14:09:47 +00:00
2015-07-13 23:14:26 +00:00
2014-12-16 01:43:41 +00:00