# Copyright 2015 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. # Individual libfuzzer tests that didn't find their home yet. import("//build/config/features.gni") import("//media/media_options.gni") import("//testing/libfuzzer/fuzzer_test.gni") # root BUILD depenends on this target. Needed for package discovery group("fuzzers") { } fuzzer_test("empty_fuzzer") { sources = [ "empty_fuzzer.cc", ] additional_configs = [ "//testing/libfuzzer:no_clusterfuzz" ] } fuzzer_test("brotli_fuzzer") { sources = [ "brotli_fuzzer.cc", ] deps = [ "//third_party/brotli:brotli", ] } fuzzer_test("courgette_fuzzer") { sources = [ "courgette_fuzzer.cc", ] deps = [ "//base", "//courgette:courgette_lib", ] additional_configs = [ "//testing/libfuzzer:no_clusterfuzz" ] } fuzzer_test("language_detection_fuzzer") { sources = [ "language_detection_fuzzer.cc", ] deps = [ "//base", "//components/translate/core/language_detection:language_detection", ] } if (proprietary_codecs) { fuzzer_test("mp4_box_reader_fuzzer") { sources = [ "mp4_box_reader_fuzzer.cc", ] deps = [ "//base", "//media", ] libfuzzer_options = "mp4_box_reader_fuzzer.options" dict = "dicts/mp4.dict" } } if (enable_mse_mpeg2ts_stream_parser) { fuzzer_test("es_parser_adts_fuzzer") { sources = [ "es_parser_adts_fuzzer.cc", ] deps = [ "//base", "//media", ] } fuzzer_test("es_parser_h264_fuzzer") { sources = [ "es_parser_h264_fuzzer.cc", ] deps = [ "//base", "//media", ] } fuzzer_test("es_parser_mpeg1audio_fuzzer") { sources = [ "es_parser_mpeg1audio_fuzzer.cc", ] deps = [ "//base", "//media", ] } } fuzzer_test("snappy_fuzzer") { sources = [ "snappy_fuzzer.cc", ] deps = [ "//third_party/snappy:snappy", ] } fuzzer_test("string_tokenizer_fuzzer") { sources = [ "string_tokenizer_fuzzer.cc", ] deps = [ "//base", ] } fuzzer_test("string_to_int_fuzzer") { sources = [ "string_to_int_fuzzer.cc", ] deps = [ "//base", ] } fuzzer_test("url_parse_fuzzer") { sources = [ "url_parse_fuzzer.cc", ] deps = [ "//base", "//base:i18n", "//url:url", ] } fuzzer_test("vp9_parser_fuzzer") { sources = [ "vp9_parser_fuzzer.cc", ] deps = [ "//media", ] } fuzzer_test("base_json_reader_fuzzer") { sources = [ "base_json_reader_fuzzer.cc", ] deps = [ "//base", ] } fuzzer_test("gfx_png_image_fuzzer") { sources = [ "gfx_png_image_fuzzer.cc", ] deps = [ "//base", "//ui/gfx", ] dict = "dicts/png.dict" } fuzzer_test("zlib_uncompress_fuzzer") { sources = [ "zlib_uncompress_fuzzer.cc", ] deps = [ "//third_party/zlib", ] } fuzzer_test("sqlite3_prepare_v2_fuzzer") { sources = [ "sqlite3_prepare_v2_fuzzer.cc", ] deps = [ "//third_party/sqlite", ] dict = "dicts/sql.dict" } fuzzer_test("libxml_xml_read_memory_fuzzer") { sources = [ "libxml_xml_read_memory_fuzzer.cc", ] deps = [ "//third_party/libxml:libxml", ] dict = "dicts/xml.dict" } fuzzer_test("unicode_string_codepage_create_fuzzer") { sources = [ "unicode_string_codepage_create_fuzzer.cc", ] deps = [ "//third_party/icu", ] } fuzzer_test("libpng_read_fuzzer") { sources = [ "libpng_read_fuzzer.cc", ] deps = [ "//base", "//third_party/libpng", ] dict = "dicts/png.dict" } fuzzer_test("icu_uregex_open_fuzzer") { sources = [ "icu_uregex_open_fuzzer.cc", ] deps = [ "//third_party/icu", ] dict = "dicts/icu_regex.dict" libfuzzer_options = "icu_uregex_open_fuzzer.options" } fuzzer_test("v8_script_parser_fuzzer") { sources = [] deps = [ "//v8:parser_fuzzer", ] dict = "dicts/js.dict" } fuzzer_test("v8_json_parser_fuzzer") { sources = [] deps = [ "//v8:json_fuzzer", ] dict = "dicts/json.dict" } fuzzer_test("v8_regexp_parser_fuzzer") { sources = [] deps = [ "//v8:regexp_fuzzer", ] dict = "dicts/regexp.dict" libfuzzer_options = "v8_regexp_parser_fuzzer.options" } fuzzer_test("v8_wasm_fuzzer") { sources = [] deps = [ "//v8:wasm_fuzzer", ] dict = "dicts/v8_wasm.dict" libfuzzer_options = "v8_wasm_fuzzer.options" } fuzzer_test("v8_wasm_asmjs_fuzzer") { sources = [] deps = [ "//v8:wasm_asmjs_fuzzer", ] } fuzzer_test("third_party_re2_fuzzer") { sources = [ "re2_fuzzer.cc", ] deps = [ "//third_party/re2:re2", ] libfuzzer_options = "re2_fuzzer.options" } fuzzer_test("libxml_xml_regexp_compile_fuzzer") { sources = [ "libxml_xml_regexp_compile_fuzzer.cc", ] deps = [ "//third_party/libxml", ] libfuzzer_options = "libxml_xml_regexp_compile_fuzzer.options" additional_configs = [ "//testing/libfuzzer:no_clusterfuzz" ] }