SPIRV-Tools/test
Ehsan Nasiri 4fb79b54f2 Validation for struct nesting depth.
According to sectin 2.17 in SPIR-V Spec, the structure nesting depth may
not be larger than 255. This is interpreted as structures nested in
structures. The code does not look into arrays or follow pointers to see
if it reaches a structure downstream.

Use memoization to avoid exponential runtime.
2016-12-07 16:15:56 -05:00
..
opt Make friendly number-based names for OpConstant 2016-11-15 14:05:03 -05:00
val Validation for struct nesting depth. 2016-12-07 16:15:56 -05:00
assembly_context_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
assembly_format_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
binary_destroy_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
binary_endianness_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
binary_header_get_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
binary_parse_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
binary_to_text_test.cpp Make friendly number-based names for OpConstant 2016-11-15 14:05:03 -05:00
binary_to_text.literal_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
c_interface_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
capability_set_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
CMakeLists.txt Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
comment_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
cpp_interface_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
diagnostic_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
ext_inst.glsl_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
ext_inst.opencl_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
fix_word_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
generator_magic_number_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
hex_float_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
immediate_int_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
libspirv_macros_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
log_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
name_mapper_test.cpp Make friendly number-based names for OpConstant 2016-11-15 14:05:03 -05:00
named_id_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
opcode_make_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
opcode_require_capabilities_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
opcode_split_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
opcode_table_get_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
operand_capabilities_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
operand_pattern_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
operand_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
operand-class-test-coverage.csv Fix operand class test coverage table. 2016-09-23 11:58:25 -04:00
parse_number_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
software_version_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
target_env_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
test_fixture.h Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
text_advance_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
text_destroy_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
text_literal_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
text_start_new_inst_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
text_to_binary_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
text_to_binary.annotation_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
text_to_binary.barrier_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
text_to_binary.constant_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
text_to_binary.control_flow_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
text_to_binary.debug_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
text_to_binary.device_side_enqueue_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
text_to_binary.extension_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
text_to_binary.function_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
text_to_binary.group_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
text_to_binary.image_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
text_to_binary.literal_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
text_to_binary.memory_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
text_to_binary.misc_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
text_to_binary.mode_setting_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
text_to_binary.pipe_storage_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
text_to_binary.subgroup_dispatch_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
text_to_binary.type_declaration_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
text_word_get_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
unit_spirv.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
unit_spirv.h Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00