SPIRV-Tools/source
David Neto 3664bd5670 Fix parser assert failure for a bad OpSwitch
Emit a diagnostic if the OpSwitch selector refers to an ID that
is valid but has no type.

Discovered by afl-fuzz.
2016-01-05 11:25:58 -05:00
..
assembly_grammar.cpp Use opaque context object to hold SPIR-V info tables. 2015-11-12 16:27:51 -05:00
assembly_grammar.h Fix many typos. 2015-11-13 12:35:43 -06:00
binary.cpp Fix parser assert failure for a bad OpSwitch 2016-01-05 11:25:58 -05:00
binary.h Use Google comment style and fix typos. 2015-11-16 17:25:43 -05:00
diagnostic.cpp Put DiagnosticStream and clr exports in libspirv namespace 2015-11-20 10:46:42 -05:00
diagnostic.h Put DiagnosticStream and clr exports in libspirv namespace 2015-11-20 10:46:42 -05:00
disassemble.cpp Rename endian.h to spirv_endian.h 2016-01-04 10:47:27 -05:00
ext_inst.cpp Add missing copyright. 2015-11-12 09:43:03 -05:00
ext_inst.h Use Google comment style and fix typos. 2015-11-16 17:25:43 -05:00
instruction.h Object files should depend on spirv.h and friends 2015-11-17 18:04:12 -05:00
opcode.cpp Rename endian.h to spirv_endian.h 2016-01-04 10:47:27 -05:00
opcode.h Use Google comment style and fix typos. 2015-11-16 17:25:43 -05:00
opcode.inc Update to 1.0 Rev 2 work-in-progress headers 2015-11-12 09:43:12 -05:00
opencl_std_ext_inst.inc Update to 1.0 Rev 2 work-in-progress headers 2015-11-12 09:43:12 -05:00
operand.cpp spvBinaryParse: fix overruns, handle image format 2015-11-30 10:44:23 -05:00
operand.h Use Google comment style and fix typos. 2015-11-16 17:25:43 -05:00
print.cpp Merge pull request #23. 2015-11-23 01:42:46 -05:00
print.h Put DiagnosticStream and clr exports in libspirv namespace 2015-11-20 10:46:42 -05:00
spirv_constant.h Bottom byte of version header word should be 0 2015-11-18 15:19:43 -05:00
spirv_definition.h Support capabilities StorageImageReadWithoutFormat 2015-11-12 16:27:51 -05:00
spirv_endian.cpp Rename endian.h to spirv_endian.h 2016-01-04 10:47:27 -05:00
spirv_endian.h Rename endian.h to spirv_endian.h 2016-01-04 10:47:27 -05:00
spirv_operands.h libspirv.h doesn't depend on spirv_operands.hpp anymore. 2015-11-12 09:43:26 -05:00
syntax_tables.patch Add OpenCL extended instructions. 2015-10-26 12:55:33 -04:00
table.cpp Use opaque context object to hold SPIR-V info tables. 2015-11-12 16:27:51 -05:00
table.h Use Google comment style and fix typos. 2015-11-16 17:25:43 -05:00
text_handler.cpp Merge pull request #23. 2015-11-23 01:42:46 -05:00
text_handler.h Fix many typos. 2015-11-13 12:35:43 -06:00
text.cpp spvBinaryParse: fix overruns, handle image format 2015-11-30 10:44:23 -05:00
text.h Use Google comment style and fix typos. 2015-11-16 17:25:43 -05:00
validate_id.cpp Basic SSA Validation 2015-12-09 16:15:00 -05:00
validate_types.cpp Initial logical layout validation 2015-12-17 15:58:09 -05:00
validate_types.h Initial logical layout validation 2015-12-17 15:58:09 -05:00
validate.cpp Rename endian.h to spirv_endian.h 2016-01-04 10:47:27 -05:00
validate.h Use quotation for libspirv.h and sort headers. 2015-11-12 09:43:01 -05:00