dawn-cmake/fuzzers/tint_spirv_tools_fuzzer
Alastair Donaldson 3647df3fb7 SPIR-V Tools fuzzer: validate before mutation
ClusterFuzz will provide inputs to a fuzzer that did not necessarily
come from the current fuzzing run, thus the SPIR-V Tools mutator can be
presented with arbitrary inputs. This change causes it to validate
inputs before mutation, and reject invalid inputs.

Change-Id: Ic90e62e4f80f38826765b0d815e4f41de915b5df
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/59661
Auto-Submit: Alastair Donaldson <afdx@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Alastair Donaldson <afdx@google.com>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Reviewed-by: Ben Clayton <bclayton@google.com>
2021-07-27 16:32:59 +00:00
..
BUILD.gn Add gn build support for spirv-tools + AST fuzzers 2021-07-16 20:56:55 +00:00
CMakeLists.txt Add spirv-tools fuzzer 2021-06-24 18:10:46 +00:00
cli.cc Fix CLI parameters in fuzzers 2021-07-16 10:26:34 +00:00
cli.h Fix CLI parameters in fuzzers 2021-07-16 10:26:34 +00:00
fuzzer.cc SPIR-V Tools fuzzer: validate before mutation 2021-07-27 16:32:59 +00:00
mutator.cc Add spirv-tools fuzzer 2021-06-24 18:10:46 +00:00
mutator.h Add spirv-tools fuzzer 2021-06-24 18:10:46 +00:00
mutator_cache.cc Add spirv-tools fuzzer 2021-06-24 18:10:46 +00:00
mutator_cache.h Add spirv-tools fuzzer 2021-06-24 18:10:46 +00:00
mutator_debugger.cc Add spirv-tools fuzzer 2021-06-24 18:10:46 +00:00
spirv_fuzz_mutator.cc Add spirv-tools fuzzer 2021-06-24 18:10:46 +00:00
spirv_fuzz_mutator.h Add spirv-tools fuzzer 2021-06-24 18:10:46 +00:00
spirv_opt_mutator.cc Add spirv-tools fuzzer 2021-06-24 18:10:46 +00:00
spirv_opt_mutator.h Add spirv-tools fuzzer 2021-06-24 18:10:46 +00:00
spirv_reduce_mutator.cc Add spirv-tools fuzzer 2021-06-24 18:10:46 +00:00
spirv_reduce_mutator.h Add spirv-tools fuzzer 2021-06-24 18:10:46 +00:00
util.cc Add spirv-tools fuzzer 2021-06-24 18:10:46 +00:00
util.h Add spirv-tools fuzzer 2021-06-24 18:10:46 +00:00