mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-08 13:14:56 +00:00
Add fuzzer for Inspector
BUG=tint:445 Change-Id: Ic342c7e83827bcc57bfd134dec92b03cb9708a70 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/37540 Auto-Submit: Ryan Harrison <rharrison@chromium.org> Reviewed-by: dan sinclair <dsinclair@chromium.org> Commit-Queue: Ryan Harrison <rharrison@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
f813959302
commit
1870a48d5f
@@ -30,6 +30,7 @@ class CommonFuzzer {
|
||||
~CommonFuzzer();
|
||||
|
||||
void SetTransformManager(transform::Manager* tm) { transform_manager_ = tm; }
|
||||
void EnableInspector() { inspector_enabled_ = true; }
|
||||
|
||||
int Run(const uint8_t* data, size_t size);
|
||||
|
||||
@@ -37,6 +38,7 @@ class CommonFuzzer {
|
||||
InputFormat input_;
|
||||
OutputFormat output_;
|
||||
transform::Manager* transform_manager_;
|
||||
bool inspector_enabled_;
|
||||
};
|
||||
|
||||
} // namespace fuzzers
|
||||
|
||||
Reference in New Issue
Block a user