summaryrefslogtreecommitdiffstats
path: root/llvm/test/Bitcode/Inputs
diff options
context:
space:
mode:
authorFilipe Cabecinhas <me@filcab.net>2015-04-29 01:27:01 +0000
committerFilipe Cabecinhas <me@filcab.net>2015-04-29 01:27:01 +0000
commitf15fb032efeb9da81f3ca341879b3eccea98b1b6 (patch)
tree83c5377aa61d7c3a6860ecc3674710d2bd9f3552 /llvm/test/Bitcode/Inputs
parent180b92168dd61c0d6c61eaa241c3c21bd892a19b (diff)
downloadbcm5719-llvm-f15fb032efeb9da81f3ca341879b3eccea98b1b6.tar.gz
bcm5719-llvm-f15fb032efeb9da81f3ca341879b3eccea98b1b6.zip
Make sure that isValidElementType(Type) before calling {Array,Struct}Type::get(Type)
Bug found with AFL fuzz. llvm-svn: 236073
Diffstat (limited to 'llvm/test/Bitcode/Inputs')
-rw-r--r--llvm/test/Bitcode/Inputs/invalid-array-element-type.bcbin0 -> 452 bytes
-rw-r--r--llvm/test/Bitcode/Inputs/invalid-vector-element-type.bcbin0 -> 452 bytes
2 files changed, 0 insertions, 0 deletions
diff --git a/llvm/test/Bitcode/Inputs/invalid-array-element-type.bc b/llvm/test/Bitcode/Inputs/invalid-array-element-type.bc
new file mode 100644
index 00000000000..3ce4ba2f77d
--- /dev/null
+++ b/llvm/test/Bitcode/Inputs/invalid-array-element-type.bc
Binary files differ
diff --git a/llvm/test/Bitcode/Inputs/invalid-vector-element-type.bc b/llvm/test/Bitcode/Inputs/invalid-vector-element-type.bc
new file mode 100644
index 00000000000..9c6c625c918
--- /dev/null
+++ b/llvm/test/Bitcode/Inputs/invalid-vector-element-type.bc
Binary files differ
OpenPOWER on IntegriCloud