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

Unified Diff: third_party/WebKit/Source/platform/BUILD.gn

Issue 2420013004: Add a fuzzer for the feature policy string parser. (Closed)
Patch Set: Rebase Created 4 years, 1 month 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/BUILD.gn
diff --git a/third_party/WebKit/Source/platform/BUILD.gn b/third_party/WebKit/Source/platform/BUILD.gn
index 5df17d1daf68fcd638022bf7cca2c8e81abf460d..cbc7f29ad8e86b75a60966c96fc6e8a22c768d8c 100644
--- a/third_party/WebKit/Source/platform/BUILD.gn
+++ b/third_party/WebKit/Source/platform/BUILD.gn
@@ -1952,6 +1952,19 @@ fuzzer_test("blink_json_parser_fuzzer") {
dict = "//testing/libfuzzer/fuzzers/dicts/json.dict"
}
+# Fuzzer for blink::FeaturePolicy.
+fuzzer_test("feature_policy_fuzzer") {
+ sources = [
+ "feature_policy/FeaturePolicyFuzzer.cpp",
+ ]
+ deps = [
+ ":blink_fuzzer_test_support",
+ ":platform",
+ ]
+ dict = "//testing/libfuzzer/fuzzers/dicts/feature_policy.dict"
+ seed_corpus = "//testing/libfuzzer/fuzzers/feature_policy_corpus"
+}
+
# NOTE: These are legacy unit tests and tests that require a Platform
# object. Do not add more unless the test requires a Platform object.
# These tests are a part of the webkit_unit_tests binary.

Powered by Google App Engine
This is Rietveld 408576698