Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1364)

Unified Diff: third_party/WebKit/Source/platform/testing/BlinkFuzzerTestSupport.h

Issue 2274563002: Add fuzzer infra to blink and fuzz CSS parser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/testing/BlinkFuzzerTestSupport.h
diff --git a/third_party/WebKit/Source/platform/testing/BlinkFuzzerTestSupport.h b/third_party/WebKit/Source/platform/testing/BlinkFuzzerTestSupport.h
new file mode 100644
index 0000000000000000000000000000000000000000..d0cbc46ff8b4a7786db00860ec65ffd8b54a75f0
--- /dev/null
+++ b/third_party/WebKit/Source/platform/testing/BlinkFuzzerTestSupport.h
@@ -0,0 +1,16 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef BlinkFuzzerTestSupport_h
+#define BlinkFuzzerTestSupport_h
+
+namespace blink {
+
+// InitializeBlinkFuzzTest will spin up an environment similar to
+// webkit_unit_tests. It should be called in LLVMFuzzerInitialize.
+void InitializeBlinkFuzzTest(int* argc, char*** argv);
+
+} // namespace blink
+
+#endif // BlinkFuzzerTestSupport_h
« no previous file with comments | « third_party/WebKit/Source/platform/BUILD.gn ('k') | third_party/WebKit/Source/platform/testing/BlinkFuzzerTestSupport.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698