mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-08 13:14:56 +00:00
Adding fuzzing for Transforms
Fuzz all transforms being applied together, and fuzz each transform separately. BUG=tint:436 Change-Id: I53cf2e05c69f495f27bfa428f55ec033a85a612a Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/36945 Commit-Queue: Ryan Harrison <rharrison@chromium.org> Auto-Submit: Ryan Harrison <rharrison@chromium.org> Reviewed-by: David Neto <dneto@google.com> Reviewed-by: dan sinclair <dsinclair@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
39545b7e7c
commit
4a29008c7e
@@ -29,11 +29,14 @@ class CommonFuzzer {
|
||||
explicit CommonFuzzer(InputFormat input, OutputFormat output);
|
||||
~CommonFuzzer();
|
||||
|
||||
void SetTransformManager(transform::Manager* tm) { transform_manager_ = tm; }
|
||||
|
||||
int Run(const uint8_t* data, size_t size);
|
||||
|
||||
private:
|
||||
InputFormat input_;
|
||||
OutputFormat output_;
|
||||
transform::Manager* transform_manager_;
|
||||
};
|
||||
|
||||
} // namespace fuzzers
|
||||
|
||||
Reference in New Issue
Block a user