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

Unified Diff: third_party/ots/BUILD.gn

Issue 2008943002: [libfuzzer] Add ots_fuzzer for OpenTypeSanitizer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | third_party/ots/fuzz/ots_fuzzer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/ots/BUILD.gn
diff --git a/third_party/ots/BUILD.gn b/third_party/ots/BUILD.gn
index 109897eb29019cd562f9ada67e1b31f7483744d0..738f3897ca215b8a10378c1c2543509c49302d5b 100644
--- a/third_party/ots/BUILD.gn
+++ b/third_party/ots/BUILD.gn
@@ -2,6 +2,8 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("//testing/libfuzzer/fuzzer_test.gni")
+
config("ots_config") {
include_dirs = [ "include" ]
}
@@ -87,3 +89,14 @@ source_set("ots") {
]
}
}
+
+fuzzer_test("ots_fuzzer") {
+ sources = [
+ "fuzz/ots_fuzzer.cc",
+ ]
+ deps = [
+ ":ots",
+ ]
+ libfuzzer_options = [ "max_len=16800" ]
+ seed_corpus = "//third_party/harfbuzz-ng/fuzz/seed_corpus"
+}
« no previous file with comments | « no previous file | third_party/ots/fuzz/ots_fuzzer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698