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

Unified Diff: third_party/hunspell/BUILD.gn

Issue 2012443002: [libfuzzer] Add fuzzer for third_party/hunspell with dictionary. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add #include guard and license block to hunspell_fuzzer_dictionary.h. 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/hunspell/fuzz/hunspell.dict » ('j') | third_party/hunspell/fuzz/hunspell.dict » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/hunspell/BUILD.gn
diff --git a/third_party/hunspell/BUILD.gn b/third_party/hunspell/BUILD.gn
index d086c00d8ba6090de96997df13f326c33e73bdac..c6abd33c16902fbe8d0142f82de2222c5ad26fba 100644
--- a/third_party/hunspell/BUILD.gn
+++ b/third_party/hunspell/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("hunspell_config") {
defines = [
"HUNSPELL_STATIC",
@@ -109,3 +111,13 @@ source_set("hunspell") {
]
}
}
+
+fuzzer_test("hunspell_fuzzer") {
+ sources = [
+ "fuzz/hunspell_fuzzer.cc",
please use gerrit instead 2016/06/01 17:09:17 Sources should include the header files, too. You
mmoroz 2016/06/02 10:54:36 Done.
+ ]
+ deps = [
+ ":hunspell",
+ ]
+ dict = "fuzz/hunspell.dict"
please use gerrit instead 2016/06/01 17:09:17 Either here or inside of hunspell.dict, explain th
mmoroz 2016/06/02 10:54:35 Done.
+}
« no previous file with comments | « no previous file | third_party/hunspell/fuzz/hunspell.dict » ('j') | third_party/hunspell/fuzz/hunspell.dict » ('J')

Powered by Google App Engine
This is Rietveld 408576698