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

Unified Diff: ui/display/util/BUILD.gn

Issue 2252643003: ui: Add a libfuzzer based fuzzer for EDID parser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 | ui/display/util/edid_parser_fuzzer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/display/util/BUILD.gn
diff --git a/ui/display/util/BUILD.gn b/ui/display/util/BUILD.gn
index e449705e670e3fea1d8cc74a149d41dd628b218c..3739a8a43fb0cacee87ecf6bbdebec3bf8b797c8 100644
--- a/ui/display/util/BUILD.gn
+++ b/ui/display/util/BUILD.gn
@@ -3,6 +3,7 @@
# found in the LICENSE file.
import("//build/config/ui.gni")
+import("//testing/libfuzzer/fuzzer_test.gni")
component("util") {
output_name = "display_util"
@@ -37,3 +38,15 @@ component("util") {
deps += [ "//ui/display/types" ]
}
}
+
+fuzzer_test("edid_parser_fuzzer") {
+ sources = [
+ "edid_parser_fuzzer.cc",
+ ]
+ deps = [
+ ":util",
+ "//ui/gfx/geometry",
+ ]
+ seed_corpus = "fuzz_corpus"
+ libfuzzer_options = [ "max_len=300" ]
+}
« no previous file with comments | « no previous file | ui/display/util/edid_parser_fuzzer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698