mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +00:00
[BitstreamReader] Make sure the Array operand type is an encoding
Bug found with AFL fuzz. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238269 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -177,3 +177,8 @@ RUN: not llvm-dis -disable-output %p/Inputs/invalid-abbrev-no-operands.bc 2>&1 |
|
||||
RUN: FileCheck --check-prefix=ABBREV-NO-OPS %s
|
||||
|
||||
ABBREV-NO-OPS: Abbrev record with no operands
|
||||
|
||||
RUN: not llvm-dis -disable-output %p/Inputs/invalid-array-operand-encoding.bc 2>&1 | \
|
||||
RUN: FileCheck --check-prefix=ARRAY-OP-ENC %s
|
||||
|
||||
ARRAY-OP-ENC: Array element type has to be an encoding of a type
|
||||
|
||||
Reference in New Issue
Block a user