mirror of
https://github.com/KhronosGroup/SPIRV-Tools
synced 2024-11-23 04:00:05 +00:00
b8ab80843f
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. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
fact_manager_test.cpp | ||
fuzz_test_util.cpp | ||
fuzz_test_util.h | ||
fuzzer_pass_add_useful_constructs_test.cpp | ||
fuzzer_replayer_test.cpp | ||
fuzzer_shrinker_test.cpp | ||
transformation_add_constant_boolean_test.cpp | ||
transformation_add_constant_scalar_test.cpp | ||
transformation_add_dead_break_test.cpp | ||
transformation_add_type_boolean_test.cpp | ||
transformation_add_type_float_test.cpp | ||
transformation_add_type_int_test.cpp | ||
transformation_add_type_pointer_test.cpp | ||
transformation_move_block_down_test.cpp | ||
transformation_replace_boolean_constant_with_constant_binary_test.cpp | ||
transformation_replace_constant_with_uniform_test.cpp | ||
transformation_split_block_test.cpp | ||
uniform_buffer_element_descriptor_test.cpp |