summaryrefslogtreecommitdiff
path: root/test/Object/invalid.test
AgeCommit message (Expand)Author
2017-10-19Fix buffer overflow.Rafael Espindola
2017-10-11Convert an ErrorOr to Expected.Rafael Espindola
2017-10-10Make the ELFFile constructor private.Rafael Espindola
2017-10-10Make the ELFObjectFile constructor private.Rafael Espindola
2017-05-10[llvm-readobj] Improve errors on invalid binarySam Clegg
2016-11-16[ELF] Convert ELF.h to Expected<T>.Davide Italiano
2016-11-03Add error handling to getEntry.Rafael Espindola
2016-11-03replace a report_fatal_error with a ErrorOr.Rafael Espindola
2016-11-02Avoid a report_fatal_error in sections().Rafael Espindola
2016-11-01Don't compute DotShstrtab eagerly.Rafael Espindola
2016-11-01Use the existing std::error_code out parameter.Rafael Espindola
2016-10-31Recommit r285285 - [Object/ELF] - Fixed behavior when SectionHeaderTable->sh_...George Rimar
2016-10-27Revert r285285 "[Object/ELF] - Fixed behavior when SectionHeaderTable->sh_siz...George Rimar
2016-10-27[Object/ELF] - Fixed behavior when SectionHeaderTable->sh_size is too large.George Rimar
2016-10-27[Object/ELF] - Do not allow overflow when checking section size/offset.George Rimar
2016-10-27[Object/ELF] - Do not crash if string table sh_size is equal to zero.George Rimar
2016-10-17[Object/ELF] - Check Header->e_shoff value earlier and do not crash.George Rimar
2016-10-17Recommit r284371 "[Object/ELF] - Check that e_shnum is null when e_shoff is."George Rimar
2016-10-17Revert r284371 "[Object/ELF] - Check that e_shnum is null when e_shoff is."George Rimar
2016-10-17[Object/ELF] - Check that e_shnum is null when e_shoff is.George Rimar
2016-10-17[Object/ELF] - Do not crash on invalid section index.George Rimar
2016-10-11Reverted r283740 [Object/ELF] - Do not crash on invalid Header->e_shoff value.George Rimar
2016-10-10[Object/ELF] - Do not crash on invalid Header->e_shoff value.George Rimar
2016-10-06Centralize sh_entsize checking.Rafael Espindola
2016-10-06Refactor to use getSectionContentsAsArray.Rafael Espindola
2016-10-04[Object/ELF] - Do not crash on invalid sh_offset value of REL[A] section.George Rimar
2016-10-04[Object/ELF] - Avoid possible crash in getExtendedSymbolTableIndex().George Rimar
2016-02-17Change how readobj stores info about dynamic symbols.Rafael Espindola
2016-02-16This reverts commit r260488 and r260489.Rafael Espindola
2016-02-11[readobj] Handle ELF files with no section table or with no program headers.Michael J. Spencer
2015-08-24Report an error if a SHT_SYMTAB_SHNDX section has the wrong size.Rafael Espindola
2015-07-23Refactor duplicated code and check for invalid symbol table size.Rafael Espindola
2015-07-02Improve error message.Rafael Espindola
2015-07-01Return ErrorOr from getSection.Rafael Espindola
2015-06-30Remove Elf_Shdr_Iter. Diagnose files with invalid section header sizes.Rafael Espindola
2015-06-30Add a test of an elf file with an invalid section index.Rafael Espindola
2015-06-30Report an error on invalid sh_entsize.Rafael Espindola
2015-06-29Factor out the checking of string tables.Rafael Espindola
2015-06-29Add a testcase for an invalid file.Rafael Espindola
2015-06-29Convert an assert that can fail into error checking.Rafael Espindola
2015-06-19Improve error handling of getRelocationAddend.Rafael Espindola