diff options
| author | Filipe Cabecinhas <me@filcab.net> | 2015-01-15 22:52:38 +0000 |
|---|---|---|
| committer | Filipe Cabecinhas <me@filcab.net> | 2015-01-15 22:52:38 +0000 |
| commit | 4013950034f359f846250308e48dce162b86b5c3 (patch) | |
| tree | e5b85f242736732bec4990ddbf798f804f692fb1 /llvm/test/Object/Inputs | |
| parent | d237ae4b2f44318fd74acae799b3bf54a5e0513c (diff) | |
| download | bcm5719-llvm-4013950034f359f846250308e48dce162b86b5c3.tar.gz bcm5719-llvm-4013950034f359f846250308e48dce162b86b5c3.zip | |
Report fatal errors instead of segfaulting/asserting on a few invalid accesses while reading MachO files.
Summary:
Shift an older “invalid file” test to get a consistent naming for these tests.
Bugs found by afl-fuzz
Reviewers: rafael
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D6945
llvm-svn: 226219
Diffstat (limited to 'llvm/test/Object/Inputs')
14 files changed, 0 insertions, 0 deletions
diff --git a/llvm/test/Object/Inputs/macho-invalid-bad-symbol-index b/llvm/test/Object/Inputs/macho-invalid-bad-symbol-index Binary files differnew file mode 100644 index 00000000000..294bbde3ddf --- /dev/null +++ b/llvm/test/Object/Inputs/macho-invalid-bad-symbol-index diff --git a/llvm/test/Object/Inputs/macho-invalid-getsection-index b/llvm/test/Object/Inputs/macho-invalid-getsection-index Binary files differnew file mode 100644 index 00000000000..b7e4b95bc9b --- /dev/null +++ b/llvm/test/Object/Inputs/macho-invalid-getsection-index diff --git a/llvm/test/Object/Inputs/macho-invalid-no-size-for-sections b/llvm/test/Object/Inputs/macho-invalid-no-size-for-sections Binary files differnew file mode 100644 index 00000000000..89fa95acbcf --- /dev/null +++ b/llvm/test/Object/Inputs/macho-invalid-no-size-for-sections diff --git a/llvm/test/Object/Inputs/macho-invalid-section-index-getSectionRawFinalSegmentName b/llvm/test/Object/Inputs/macho-invalid-section-index-getSectionRawFinalSegmentName Binary files differnew file mode 100644 index 00000000000..e3f65865922 --- /dev/null +++ b/llvm/test/Object/Inputs/macho-invalid-section-index-getSectionRawFinalSegmentName diff --git a/llvm/test/Object/Inputs/macho-invalid-section-index-getSectionRawName b/llvm/test/Object/Inputs/macho-invalid-section-index-getSectionRawName Binary files differnew file mode 100644 index 00000000000..9cd3e1cace8 --- /dev/null +++ b/llvm/test/Object/Inputs/macho-invalid-section-index-getSectionRawName diff --git a/llvm/test/Object/Inputs/macho-invalid-symbol-name-past-eof b/llvm/test/Object/Inputs/macho-invalid-symbol-name-past-eof Binary files differnew file mode 100644 index 00000000000..87478840787 --- /dev/null +++ b/llvm/test/Object/Inputs/macho-invalid-symbol-name-past-eof diff --git a/llvm/test/Object/Inputs/macho-invalid-too-small-load-command b/llvm/test/Object/Inputs/macho-invalid-too-small-load-command Binary files differnew file mode 100644 index 00000000000..36021692ee5 --- /dev/null +++ b/llvm/test/Object/Inputs/macho-invalid-too-small-load-command diff --git a/llvm/test/Object/Inputs/macho-invalid-too-small-segment-load-command b/llvm/test/Object/Inputs/macho-invalid-too-small-segment-load-command Binary files differnew file mode 100644 index 00000000000..8cbfbf96578 --- /dev/null +++ b/llvm/test/Object/Inputs/macho-invalid-too-small-segment-load-command diff --git a/llvm/test/Object/Inputs/macho-zero-ncmds b/llvm/test/Object/Inputs/macho-invalid-zero-ncmds Binary files differindex 0505419195e..0505419195e 100644 --- a/llvm/test/Object/Inputs/macho-zero-ncmds +++ b/llvm/test/Object/Inputs/macho-invalid-zero-ncmds diff --git a/llvm/test/Object/Inputs/macho64-invalid-getsection-index b/llvm/test/Object/Inputs/macho64-invalid-getsection-index Binary files differnew file mode 100644 index 00000000000..a2a7bc10c4f --- /dev/null +++ b/llvm/test/Object/Inputs/macho64-invalid-getsection-index diff --git a/llvm/test/Object/Inputs/macho64-invalid-incomplete-load-command b/llvm/test/Object/Inputs/macho64-invalid-incomplete-load-command Binary files differnew file mode 100644 index 00000000000..a569c9e14b3 --- /dev/null +++ b/llvm/test/Object/Inputs/macho64-invalid-incomplete-load-command diff --git a/llvm/test/Object/Inputs/macho64-invalid-no-size-for-sections b/llvm/test/Object/Inputs/macho64-invalid-no-size-for-sections Binary files differnew file mode 100644 index 00000000000..5aae5ffed3a --- /dev/null +++ b/llvm/test/Object/Inputs/macho64-invalid-no-size-for-sections diff --git a/llvm/test/Object/Inputs/macho64-invalid-too-small-load-command b/llvm/test/Object/Inputs/macho64-invalid-too-small-load-command Binary files differnew file mode 100644 index 00000000000..0028451d190 --- /dev/null +++ b/llvm/test/Object/Inputs/macho64-invalid-too-small-load-command diff --git a/llvm/test/Object/Inputs/macho64-invalid-too-small-segment-load-command b/llvm/test/Object/Inputs/macho64-invalid-too-small-segment-load-command Binary files differnew file mode 100644 index 00000000000..ce6a20134a9 --- /dev/null +++ b/llvm/test/Object/Inputs/macho64-invalid-too-small-segment-load-command |

