llvm-project/llvm/test/Bitcode/Inputs
Florian Hahn 19d3fdb08b Recommit "[BitcodeReader] Validate OpNum, before accessing Record array."
This recommits r365750 (git commit 8b222ecf27)

Original message:

   Currently invalid bitcode files can cause a crash, when OpNum exceeds
   the number of elements in Record, like in the attached bitcode file.

   The test case was generated by clusterfuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=15698

   Reviewers: t.p.northover, thegameg, jfb

   Reviewed By: jfb

   Differential Revision: https://reviews.llvm.org/D64507

   llvm-svn: 365750jkkkk

llvm-svn: 366018
2019-07-14 14:06:25 +00:00
..
PR23310.bc
apple-clang-700-O3-g-1.bc [Bitcode] Address backwards compat bug in r342631 2018-09-20 18:59:33 +00:00
byval-upgrade.bc Reapply: IR: add optional type to 'byval' function parameters 2019-05-30 18:48:23 +00:00
infer_dso_local.bc
invalid-GCTable-overflow.bc
invalid-abbrev-fixed-size-too-big.bc
invalid-abbrev-no-operands.bc
invalid-abbrev-vbr-size-too-big.bc
invalid-abbrev.bc
invalid-alias-type-mismatch.bc
invalid-align.bc
invalid-array-element-type.bc
invalid-array-op-not-2nd-to-last.bc
invalid-array-operand-encoding.bc
invalid-array-type.bc
invalid-bad-abbrev-number.bc
invalid-bitwidth.bc
invalid-call-mismatched-explicit-type.bc
invalid-call-non-function-explicit-type.bc
invalid-cast.bc
invalid-code-len-width.bc
invalid-empty.bc
invalid-extract-0-indices.bc
invalid-extractval-array-idx.bc
invalid-extractval-struct-idx.bc
invalid-extractval-too-many-idxs.bc
invalid-fcmp-opnum.bc Recommit "[BitcodeReader] Validate OpNum, before accessing Record array." 2019-07-14 14:06:25 +00:00
invalid-fp-shift.bc
invalid-function-argument-type.bc
invalid-function-comdat-id.bc
invalid-fwdref-type-mismatch-2.bc
invalid-fwdref-type-mismatch.bc
invalid-gep-mismatched-explicit-type.bc
invalid-gep-no-operands.bc
invalid-gep-operator-mismatched-explicit-type.bc
invalid-global-var-comdat-id.bc
invalid-insert-0-indices.bc
invalid-inserted-value-type-mismatch.bc
invalid-insertval-array-idx.bc
invalid-insertval-struct-idx.bc
invalid-insertval-too-many-idxs.bc
invalid-invoke-mismatched-explicit-type.bc
invalid-invoke-non-function-explicit-type.bc
invalid-load-mismatched-explicit-type.bc
invalid-load-pointer-type.bc
invalid-load-ptr-type.bc
invalid-metadata-not-followed-named-node.bc
invalid-name-with-0-byte.bc
invalid-no-function-block.bc
invalid-no-proper-module.bc
invalid-non-vector-extractelement.bc
invalid-non-vector-insertelement.bc
invalid-non-vector-shufflevector.bc
invalid-nonpointer-atomicrmw.bc
invalid-nonpointer-storeatomic.bc
invalid-pointer-element-type.bc
invalid-pr20485.bc
invalid-too-big-fwdref.bc
invalid-type-table-forward-ref.bc
invalid-unexpected-eof.bc
invalid-vector-element-type.bc
invalid-vector-length.bc
invalid-void-constant.bc
module-hash-strtab1.ll
module-hash-strtab2.ll
module_hash.ll [ThinLTO] Fix ThinLTOCodegenerator to export llvm.used symbols 2019-04-17 17:38:09 +00:00
multi-module.ll
padding-garbage.bc
padding.bc
source-filename.bc
thinlto-alias.ll
thinlto-function-summary-callgraph-combined.1.bc
thinlto-function-summary-callgraph-pgo-combined.1.bc
thinlto-function-summary-callgraph-pgo.1.bc
thinlto-function-summary-callgraph-profile-summary.ll
thinlto-function-summary-callgraph-sample-profile-summary.ll
thinlto-function-summary-callgraph.1.bc
thinlto-function-summary-callgraph.ll