| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 # LibFuzzer is a LLVM tool for coverage-guided fuzz testing. | 5 # LibFuzzer is a LLVM tool for coverage-guided fuzz testing. |
| 6 # See http://www.chromium.org/developers/testing/libfuzzer | 6 # See http://www.chromium.org/developers/testing/libfuzzer |
| 7 # | 7 # |
| 8 # To enable libfuzzer, 'use_libfuzzer' GN option should be set to true. | 8 # To enable libfuzzer, 'use_libfuzzer' GN option should be set to true. |
| 9 | 9 |
| 10 import("//build/config/features.gni") | 10 import("//build/config/features.gni") |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 "//courgette:courgette_lib", | 50 "//courgette:courgette_lib", |
| 51 ] | 51 ] |
| 52 } | 52 } |
| 53 | 53 |
| 54 test("dns_record_fuzzer") { | 54 test("dns_record_fuzzer") { |
| 55 sources = [ | 55 sources = [ |
| 56 "dns_record_fuzzer.cc", | 56 "dns_record_fuzzer.cc", |
| 57 ] | 57 ] |
| 58 deps = [ | 58 deps = [ |
| 59 ":libfuzzer_main", | 59 ":libfuzzer_main", |
| 60 "//base", |
| 60 "//net", | 61 "//net", |
| 61 "//base", | |
| 62 ] | 62 ] |
| 63 } | 63 } |
| 64 | 64 |
| 65 test("ftp_ctrl_response_fuzzer") { | 65 test("ftp_ctrl_response_fuzzer") { |
| 66 sources = [ | 66 sources = [ |
| 67 "ftp_ctrl_response_fuzzer.cc", | 67 "ftp_ctrl_response_fuzzer.cc", |
| 68 ] | 68 ] |
| 69 deps = [ | 69 deps = [ |
| 70 ":libfuzzer_main", | 70 ":libfuzzer_main", |
| 71 "//base", |
| 71 "//net", | 72 "//net", |
| 72 "//base", | |
| 73 ] | 73 ] |
| 74 } | 74 } |
| 75 | 75 |
| 76 test("ftp_directory_listing_fuzzer") { | 76 test("ftp_directory_listing_fuzzer") { |
| 77 sources = [ | 77 sources = [ |
| 78 "ftp_directory_listing_fuzzer.cc", | 78 "ftp_directory_listing_fuzzer.cc", |
| 79 ] | 79 ] |
| 80 deps = [ | 80 deps = [ |
| 81 ":libfuzzer_main", | 81 ":libfuzzer_main", |
| 82 "//base", |
| 82 "//net", | 83 "//net", |
| 83 "//base", | |
| 84 ] | 84 ] |
| 85 } | 85 } |
| 86 | 86 |
| 87 test("language_detection_fuzzer") { | 87 test("language_detection_fuzzer") { |
| 88 sources = [ | 88 sources = [ |
| 89 "language_detection_fuzzer.cc", | 89 "language_detection_fuzzer.cc", |
| 90 ] | 90 ] |
| 91 deps = [ | 91 deps = [ |
| 92 ":libfuzzer_main", | 92 ":libfuzzer_main", |
| 93 "//base", | 93 "//base", |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 | 193 |
| 194 test("vp9_parser_fuzzer") { | 194 test("vp9_parser_fuzzer") { |
| 195 sources = [ | 195 sources = [ |
| 196 "vp9_parser_fuzzer.cc", | 196 "vp9_parser_fuzzer.cc", |
| 197 ] | 197 ] |
| 198 deps = [ | 198 deps = [ |
| 199 ":libfuzzer_main", | 199 ":libfuzzer_main", |
| 200 "//media", | 200 "//media", |
| 201 ] | 201 ] |
| 202 } | 202 } |
| OLD | NEW |