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

Unified Diff: net/BUILD.gn

Issue 1946793002: net: Add fuzzer for HostResolverImpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove port 0 check Created 4 years, 7 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/base/fuzzed_data_provider.h » ('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 827ca6f47f71084fdaeefc68873bae7d23bbab35..9bc103cc01b81437e5eeb9ee7d30dcbf4e70faaf 100644
--- a/net/BUILD.gn
+++ b/net/BUILD.gn
@@ -1672,9 +1672,7 @@ test("net_unittests") {
}
if (is_win) {
- libs = [
- "iphlpapi.lib",
- ]
+ libs = [ "iphlpapi.lib" ]
}
}
@@ -1733,6 +1731,8 @@ source_set("net_fuzzer_test_support") {
"socket/fuzzed_socket.h",
"socket/fuzzed_socket_factory.cc",
"socket/fuzzed_socket_factory.h",
+ "udp/fuzzed_datagram_client_socket.cc",
+ "udp/fuzzed_datagram_client_socket.h",
]
deps = [
"//base",
@@ -1910,6 +1910,21 @@ fuzzer_test("net_dns_hosts_parse_fuzzer") {
]
}
+fuzzer_test("net_host_resolver_impl_fuzzer") {
+ sources = [
+ "dns/fuzzed_host_resolver.cc",
+ "dns/fuzzed_host_resolver.h",
+ "dns/host_resolver_impl_fuzzer.cc",
+ ]
+ deps = [
+ ":net_fuzzer_test_support",
+ ":test_support",
+ "//base",
+ "//net",
+ ]
+ dict = "data/dns/dns.dict"
+}
+
fuzzer_test("net_http_stream_parser_fuzzer") {
sources = [
"http/http_stream_parser_fuzzer.cc",
« no previous file with comments | « no previous file | net/base/fuzzed_data_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698