SPIRV-Tools/test/fuzz
Alastair Donaldson b8ab80843f
Shrinker for spirv-fuzz (#2708)
Adds to spirv-fuzz the option to shrink a sequence of transformations
that lead to an interesting binary to be generated, to find a smaller
sub-sequence of transformations that still lead to an interesting (but
hopefully simpler) binary being generated. The notion of what counts
as "interesting" comes from a user-provided script, the
"interestingness function", similar to the way the spirv-reduce tool
works. The shrinking process will give up after a maximum number of
steps, which can be configured on the command line.

Tests for the combination of fuzzing and shrinking are included, using
a variety of interestingness functions.
2019-07-07 08:55:30 +01:00
..
CMakeLists.txt Shrinker for spirv-fuzz (#2708) 2019-07-07 08:55:30 +01:00
fact_manager_test.cpp Represent uniform facts via descriptor set and binding. (#2681) 2019-06-19 20:45:14 +01:00
fuzz_test_util.cpp Add "split block" transformation. (#2633) 2019-05-29 16:42:46 +01:00
fuzz_test_util.h Shrinker for spirv-fuzz (#2708) 2019-07-07 08:55:30 +01:00
fuzzer_pass_add_useful_constructs_test.cpp Represent uniform facts via descriptor set and binding. (#2681) 2019-06-19 20:45:14 +01:00
fuzzer_replayer_test.cpp Shrinker for spirv-fuzz (#2708) 2019-07-07 08:55:30 +01:00
fuzzer_shrinker_test.cpp Shrinker for spirv-fuzz (#2708) 2019-07-07 08:55:30 +01:00
transformation_add_constant_boolean_test.cpp Refactor fuzzer transformations (#2694) 2019-06-25 20:49:46 +01:00
transformation_add_constant_scalar_test.cpp Refactor fuzzer transformations (#2694) 2019-06-25 20:49:46 +01:00
transformation_add_dead_break_test.cpp Refactor fuzzer transformations (#2694) 2019-06-25 20:49:46 +01:00
transformation_add_type_boolean_test.cpp Refactor fuzzer transformations (#2694) 2019-06-25 20:49:46 +01:00
transformation_add_type_float_test.cpp Refactor fuzzer transformations (#2694) 2019-06-25 20:49:46 +01:00
transformation_add_type_int_test.cpp Refactor fuzzer transformations (#2694) 2019-06-25 20:49:46 +01:00
transformation_add_type_pointer_test.cpp Refactor fuzzer transformations (#2694) 2019-06-25 20:49:46 +01:00
transformation_move_block_down_test.cpp Disallow movement of unreachable blocks. (#2700) 2019-06-26 15:32:25 +01:00
transformation_replace_boolean_constant_with_constant_binary_test.cpp Refactor fuzzer transformations (#2694) 2019-06-25 20:49:46 +01:00
transformation_replace_constant_with_uniform_test.cpp Refactor fuzzer transformations (#2694) 2019-06-25 20:49:46 +01:00
transformation_split_block_test.cpp Refactor fuzzer transformations (#2694) 2019-06-25 20:49:46 +01:00
uniform_buffer_element_descriptor_test.cpp Represent uniform facts via descriptor set and binding. (#2681) 2019-06-19 20:45:14 +01:00