llvm-6502/lib
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 [PM/AA] Start refactoring AliasAnalysis to remove the analysis group and 2015-06-04 02:03:15 +00:00
AsmParser DebugInfo: Really support 2^16 arguments in a subprogram 2015-06-02 17:17:44 +00:00
Bitcode [BitcodeReader] Diagnose type mismatches with aliases 2015-06-03 01:30:13 +00:00
CodeGen [DAGCombiner] Fix wrong folding of a build_vector into a blend with zero. 2015-06-04 19:15:01 +00:00
DebugInfo [DWARF] Fix a bug in line info handling 2015-05-31 23:37:04 +00:00
ExecutionEngine Re-commit r238838, r238844 with fix for host/target endian mismatch and windows buildbot. 2015-06-03 10:27:28 +00:00
Fuzzer [lib/Fuzzer] make assertions more informative and update comments for the user-supplied mutator 2015-05-30 17:33:13 +00:00
IR [C API] Add LLVMStructGetTypeAtIndex. 2015-06-04 09:09:53 +00:00
IRReader
LineEditor
Linker
LTO Make the C++ LTO API easier to use from C++ clients. 2015-06-01 20:08:30 +00:00
MC Test commit access. 2015-06-04 17:30:26 +00:00
Object [Object, MachO] Don't crash on invalid MachO load commands. 2015-06-04 19:57:46 +00:00
Option
Passes
ProfileData
Support [bpf] add big- and host- endian support 2015-06-04 19:15:05 +00:00
TableGen [TableGen] Use range-based for loops. NFC 2015-06-04 07:40:14 +00:00
Target [bpf] add big- and host- endian support 2015-06-04 19:15:05 +00:00
Transforms Tidy code in InstrProfiling.cpp. NFC. 2015-06-04 11:45:32 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile