SPIRV-Tools/test/fuzz
Alastair Donaldson 001e823b65
Add fuzzer pass to obfuscate constants. (#2671)
Adds a new transformation that can replace a constant with a uniform known to have the same value, and adds a fuzzer pass that (a) replaces a boolean with a comparison of literals (e.g. replacing "true" with "42 > 24"), and then (b) obfuscates the literals appearing in this comparison by replacing them with identically-valued uniforms, if available.

The fuzzer_replayer test file has also been updated to allow initial facts to be provided, and to do error checking of the status results returned by the fuzzer and replayer components.
2019-06-18 18:41:08 +01:00
..
CMakeLists.txt Add fuzzer pass to obfuscate constants. (#2671) 2019-06-18 18:41:08 +01:00
fact_manager_test.cpp Add fuzzer pass to obfuscate constants. (#2671) 2019-06-18 18:41:08 +01:00
fuzz_test_util.cpp Add "split block" transformation. (#2633) 2019-05-29 16:42:46 +01:00
fuzz_test_util.h Add "split block" transformation. (#2633) 2019-05-29 16:42:46 +01:00
fuzzer_pass_add_useful_constructs_test.cpp Add fuzzer pass to obfuscate constants. (#2671) 2019-06-18 18:41:08 +01:00
fuzzer_replayer_test.cpp Add fuzzer pass to obfuscate constants. (#2671) 2019-06-18 18:41:08 +01:00
transformation_add_constant_boolean_test.cpp Add fuzzer pass that adds useful constructs to a module (#2647) 2019-06-04 14:55:00 +01:00
transformation_add_constant_scalar_test.cpp Add fuzzer pass that adds useful constructs to a module (#2647) 2019-06-04 14:55:00 +01:00
transformation_add_dead_break_test.cpp Add fuzzer pass to add dead breaks. (#2654) 2019-06-05 08:02:16 +01:00
transformation_add_type_boolean_test.cpp Add fuzzer pass that adds useful constructs to a module (#2647) 2019-06-04 14:55:00 +01:00
transformation_add_type_float_test.cpp Add fuzzer pass that adds useful constructs to a module (#2647) 2019-06-04 14:55:00 +01:00
transformation_add_type_int_test.cpp Add fuzzer pass that adds useful constructs to a module (#2647) 2019-06-04 14:55:00 +01:00
transformation_add_type_pointer_test.cpp Add fuzzer pass to obfuscate constants. (#2671) 2019-06-18 18:41:08 +01:00
transformation_move_block_down_test.cpp Add spirv-fuzz pass to permute blocks. (#2642) 2019-05-31 09:59:06 +01:00
transformation_replace_boolean_constant_with_constant_binary_test.cpp Add transformation to replace a boolean constant with a numeric comparison (#2659) 2019-06-06 22:22:35 +01:00
transformation_replace_constant_with_uniform_test.cpp Add fuzzer pass to obfuscate constants. (#2671) 2019-06-18 18:41:08 +01:00
transformation_split_block_test.cpp Add "split block" transformation. (#2633) 2019-05-29 16:42:46 +01:00