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

Unified Diff: testing/libfuzzer/fuzzers/nss/BUILD.gn

Issue 1677803002: Add a bunch of NSS ASN.1 fuzzers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Stop zeroing our stuff 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
Index: testing/libfuzzer/fuzzers/nss/BUILD.gn
diff --git a/testing/libfuzzer/fuzzers/nss/BUILD.gn b/testing/libfuzzer/fuzzers/nss/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..3b325fd2e528ef52d976cd500dd95de35f95f1cf
--- /dev/null
+++ b/testing/libfuzzer/fuzzers/nss/BUILD.gn
@@ -0,0 +1,149 @@
+# Copyright 2015 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.
+
+# Individual libfuzzer tests that didn't find their home yet.
+
+import("//build/config/features.gni")
+import("//testing/libfuzzer/fuzzer_test.gni")
+
+# root BUILD depenends on this target. Needed for package discovery
+group("nss") {
+}
+
+if (is_linux) {
+ fuzzer_test("asn1_algorithmid_fuzzer") {
+ sources = [
+ "asn1_algorithmid_fuzzer.cc",
+ ]
+ deps = [
+ "//crypto:platform",
+ ]
+ }
+
+ fuzzer_test("asn1_any_fuzzer") {
+ sources = [
+ "asn1_any_fuzzer.cc",
+ ]
+ deps = [
+ "//crypto:platform",
+ ]
+ }
+
+ fuzzer_test("asn1_bitstring_fuzzer") {
+ sources = [
+ "asn1_bitstring_fuzzer.cc",
+ ]
+ deps = [
+ "//crypto:platform",
+ ]
+ }
+
+ fuzzer_test("asn1_bmpstring_fuzzer") {
+ sources = [
+ "asn1_bmpstring_fuzzer.cc",
+ ]
+ deps = [
+ "//crypto:platform",
+ ]
+ }
+
+ fuzzer_test("asn1_boolean_fuzzer") {
+ sources = [
+ "asn1_boolean_fuzzer.cc",
+ ]
+ deps = [
+ "//crypto:platform",
+ ]
+ }
+
+ fuzzer_test("asn1_generalizedtime_fuzzer") {
+ sources = [
+ "asn1_generalizedtime_fuzzer.cc",
+ ]
+ deps = [
+ "//crypto:platform",
+ ]
+ }
+
+ fuzzer_test("asn1_ia5string_fuzzer") {
+ sources = [
+ "asn1_ia5string_fuzzer.cc",
+ ]
+ deps = [
+ "//crypto:platform",
+ ]
+ }
+
+ fuzzer_test("asn1_integer_fuzzer") {
+ sources = [
+ "asn1_integer_fuzzer.cc",
+ ]
+ deps = [
+ "//crypto:platform",
+ ]
+ }
+
+ fuzzer_test("asn1_null_fuzzer") {
+ sources = [
+ "asn1_null_fuzzer.cc",
+ ]
+ deps = [
+ "//crypto:platform",
+ ]
+ }
+
+ fuzzer_test("asn1_objectid_fuzzer") {
+ sources = [
+ "asn1_objectid_fuzzer.cc",
+ ]
+ deps = [
+ "//crypto:platform",
+ ]
+ }
+
+ fuzzer_test("asn1_octetstring_fuzzer") {
+ sources = [
+ "asn1_octetstring_fuzzer.cc",
+ ]
+ deps = [
+ "//crypto:platform",
+ ]
+ }
+
+ fuzzer_test("asn1_utctime_fuzzer") {
+ sources = [
+ "asn1_utctime_fuzzer.cc",
+ ]
+ deps = [
+ "//crypto:platform",
+ ]
+ }
+
+ fuzzer_test("asn1_utf8string_fuzzer") {
+ sources = [
+ "asn1_utf8string_fuzzer.cc",
+ ]
+ deps = [
+ "//crypto:platform",
+ ]
+ }
+
+ fuzzer_test("cert_certificate_fuzzer") {
+ sources = [
+ "cert_certificate_fuzzer.cc",
+ ]
+ deps = [
+ "//crypto:platform",
+ ]
+ }
+
+ fuzzer_test("seckey_privatekeyinfo_fuzzer") {
+ sources = [
+ "seckey_privatekeyinfo_fuzzer.cc",
+ ]
+ deps = [
+ "//crypto:platform",
+ ]
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698