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

Unified Diff: third_party/boringssl/BUILD.gn

Issue 1885493002: [libfuzzer] Add custom max_len parameter for boringssl fuzzers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove depfile for dry run to test a possible fix. Created 4 years, 8 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 | « testing/libfuzzer/fuzzer_test.gni ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/boringssl/BUILD.gn
diff --git a/third_party/boringssl/BUILD.gn b/third_party/boringssl/BUILD.gn
index d4f00cfe726d3fbcbb0f3b8a0dddc1604ee5dfce..9e58dbe62b4a958219537a4f5ab25b863f1d4ef2 100644
--- a/third_party/boringssl/BUILD.gn
+++ b/third_party/boringssl/BUILD.gn
@@ -178,6 +178,16 @@ if (build_with_chromium) {
":boringssl_fuzzer",
]
seed_corpus = "src/fuzz/${fuzzer}_corpus"
+
+ if ("cert" == fuzzer) {
+ libfuzzer_options = [ "max_len=3072" ]
+ } else if ("client" == fuzzer) {
+ libfuzzer_options = [ "max_len=20000" ]
+ } else if ("privkey" == fuzzer) {
+ libfuzzer_options = [ "max_len=2048" ]
+ } else if ("server" == fuzzer) {
+ libfuzzer_options = [ "max_len=4096" ]
davidben 2016/04/27 18:06:22 Oof. Sorry, I completely forgot this was in the pi
+ }
}
}
}
« no previous file with comments | « testing/libfuzzer/fuzzer_test.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698