summaryrefslogtreecommitdiffstats
path: root/llvm/test/Object/Inputs/invalid-sections-num.elf
Commit message (Collapse)AuthorAgeFilesLines
* [Object/invalid.test] - Convert most of the sub tests to YAML.George Rimar2019-06-271-0/+0
| | | | | | | | | | | | | Object/invalid.test is a test case that is used to check the behavior of tools when broken inputs are used. The most often tool tested there is llvm-readobj. I think we might want to move such tests to test\tools\llvm-readobj. For now this patch converts many sub-tests to use YAML and removes 12 binaries from the inputs. Differential revision: https://reviews.llvm.org/D63762 llvm-svn: 364522
* Recommit r285285 - [Object/ELF] - Fixed behavior when ↵George Rimar2016-10-311-0/+0
| | | | | | | | | | | | | | | | | | SectionHeaderTable->sh_size is too large. with fix: edited invalid-section-index2.elf input to pass the new check and fail on the same place it was intended to fail. Original commit message: Elf.h already has code checking that section table does not go past end of file. Problem is that this check may not work on values greater than UINT64_MAX / Header->e_shentsize because of calculation overflow. Parch fixes the issue. Differential revision: https://reviews.llvm.org/D25432 llvm-svn: 285586
* Revert r285285 "[Object/ELF] - Fixed behavior when ↵George Rimar2016-10-271-0/+0
| | | | | | | | SectionHeaderTable->sh_size is too large." It broke BB. llvm-svn: 285288
* [Object/ELF] - Fixed behavior when SectionHeaderTable->sh_size is too large.George Rimar2016-10-271-0/+0
Elf.h already has code checking that section table does not go past end of file. Problem is that this check may not work on values greater than UINT64_MAX / Header->e_shentsize because of calculation overflow. Parch fixes the issue. Differential revision: https://reviews.llvm.org/D25432 llvm-svn: 285285
OpenPOWER on IntegriCloud