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

Unified Diff: net/BUILD.gn

Issue 1735043004: Add fuzz testers to //net for some functions with simple parsing APIs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 10 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
« no previous file with comments | « no previous file | net/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/BUILD.gn
diff --git a/net/BUILD.gn b/net/BUILD.gn
index 064ea28e0e083fc028390eacfecaff03002ca373..d5bbb066da170469c84d5d6df717bfd2efd4e14b 100644
--- a/net/BUILD.gn
+++ b/net/BUILD.gn
@@ -9,6 +9,7 @@ import("//build/config/crypto.gni")
import("//build/config/features.gni")
import("//build/config/ui.gni")
import("//build_overrides/v8.gni")
+import("//testing/libfuzzer/fuzzer_test.gni")
import("//testing/test.gni")
import("//third_party/icu/config.gni")
import("//third_party/protobuf/proto_library.gni")
@@ -1741,6 +1742,91 @@ executable("net_perftests") {
}
}
+fuzzer_test("parse_proxy_list_pac_fuzzer") {
+ sources = [
+ "proxy/parse_proxy_list_pac_fuzzer.cc",
+ ]
+ deps = [
+ "//net",
+ ]
+}
+
+fuzzer_test("parse_proxy_list_fuzzer") {
+ sources = [
+ "proxy/parse_proxy_list_fuzzer.cc",
+ ]
+ deps = [
+ "//net",
+ ]
+}
+
+fuzzer_test("parse_proxy_bypass_rules_fuzzer") {
+ sources = [
+ "proxy/parse_proxy_bypass_rules_fuzzer.cc",
+ ]
+ deps = [
+ "//net",
+ ]
+}
+
+fuzzer_test("parse_proxy_rules_fuzzer") {
+ sources = [
+ "proxy/parse_proxy_rules_fuzzer.cc",
+ ]
+ deps = [
+ "//net",
+ ]
+}
+
+fuzzer_test("parse_data_url_fuzzer") {
+ sources = [
+ "base/parse_data_url_fuzzer.cc",
+ ]
+ deps = [
+ "//base",
+ "//net",
+ ]
+}
+
+fuzzer_test("sniff_mime_type_fuzzer") {
+ sources = [
+ "base/sniff_mime_type_fuzzer.cc",
+ ]
+ deps = [
+ "//base",
+ "//net",
+ ]
+}
+
+fuzzer_test("parse_ip_pattern_fuzzer") {
+ sources = [
+ "base/parse_ip_pattern_fuzzer.cc",
+ ]
+ deps = [
+ "//net",
+ ]
+}
+
+fuzzer_test("get_domain_and_registry_fuzzer") {
+ sources = [
+ "base/registry_controlled_domains/get_domain_and_registry_fuzzer.cc",
+ ]
+ deps = [
+ "//base",
+ "//base:i18n",
+ "//net",
+ ]
+}
+
+fuzzer_test("parse_cookie_line_fuzzer") {
+ sources = [
+ "cookies/parse_cookie_line_fuzzer.cc",
+ ]
+ deps = [
+ "//net",
+ ]
+}
+
buildflag_header("features") {
header = "net_features.h"
« no previous file with comments | « no previous file | net/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698