llvm-6502/test
Alexey Samsonov 7e699dce03 [Object, MachO] Don't crash on invalid MachO load commands.
Summary:
Currently all load commands are parsed in MachOObjectFile constructor.
If the next load command cannot be parsed, or if command size is too
small, properly report it through the error code and fail to construct
the object, instead of crashing the program.

Test Plan: regression test suite

Reviewers: rafael, filcab

Subscribers: llvm-commits

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239080 91177308-0d34-0410-b5e6-96231b3b80d8
2015-06-04 19:57:46 +00:00
..
Analysis
Assembler
Bindings
Bitcode
BugPoint
CodeGen [bpf] add big- and host- endian support 2015-06-04 19:15:05 +00:00
DebugInfo
ExecutionEngine
Feature
FileCheck
Instrumentation
Integer
JitListener
Linker
LTO
MC Omit unused section symbols from the symbol table. 2015-06-04 15:33:30 +00:00
Object [Object, MachO] Don't crash on invalid MachO load commands. 2015-06-04 19:57:46 +00:00
Other
SymbolRewriter
TableGen
tools Fix buildbot failure on Windows by relaxing test expectations. 2015-06-04 19:22:00 +00:00
Transforms
Unit
Verifier
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg
lit.site.cfg.in
Makefile
Makefile.tests
TestRunner.sh