Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("//build/config/android/config.gni") | 5 import("//build/config/android/config.gni") |
| 6 import("//build/config/sanitizers/sanitizers.gni") | 6 import("//build/config/sanitizers/sanitizers.gni") |
| 7 import("//build_overrides/build.gni") | 7 import("//build_overrides/build.gni") |
| 8 import("//testing/libfuzzer/fuzzer_test.gni") | 8 import("//testing/libfuzzer/fuzzer_test.gni") |
| 9 import("BUILD.generated.gni") | 9 import("BUILD.generated.gni") |
| 10 import("BUILD.generated_tests.gni") | 10 import("BUILD.generated_tests.gni") |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 171 | 171 |
| 172 foreach(fuzzer, fuzzers) { | 172 foreach(fuzzer, fuzzers) { |
| 173 fuzzer_test("boringssl_${fuzzer}_fuzzer") { | 173 fuzzer_test("boringssl_${fuzzer}_fuzzer") { |
| 174 sources = [ | 174 sources = [ |
| 175 "src/fuzz/${fuzzer}.cc", | 175 "src/fuzz/${fuzzer}.cc", |
| 176 ] | 176 ] |
| 177 deps = [ | 177 deps = [ |
| 178 ":boringssl_fuzzer", | 178 ":boringssl_fuzzer", |
| 179 ] | 179 ] |
| 180 seed_corpus = "src/fuzz/${fuzzer}_corpus" | 180 seed_corpus = "src/fuzz/${fuzzer}_corpus" |
| 181 | |
| 182 if ("cert" == fuzzer) { | |
| 183 libfuzzer_options = [ "max_len=3072" ] | |
| 184 } else if ("client" == fuzzer) { | |
| 185 libfuzzer_options = [ "max_len=20000" ] | |
| 186 } else if ("privkey" == fuzzer) { | |
| 187 libfuzzer_options = [ "max_len=2048" ] | |
| 188 } else if ("server" == fuzzer) { | |
| 189 libfuzzer_options = [ "max_len=4096" ] | |
|
davidben
2016/04/27 18:06:22
Oof. Sorry, I completely forgot this was in the pi
| |
| 190 } | |
| 181 } | 191 } |
| 182 } | 192 } |
| 183 } | 193 } |
| OLD | NEW |