2015-11-23 15:12:06 +01:00
|
|
|
# Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
|
|
|
|
|
#
|
|
|
|
|
# Use of this source code is governed by a BSD-style license
|
|
|
|
|
# that can be found in the LICENSE file in the root of the source
|
|
|
|
|
# tree. An additional intellectual property rights grant can be found
|
|
|
|
|
# in the file PATENTS. All contributing project authors may
|
|
|
|
|
# be found in the AUTHORS file in the root of the source tree.
|
|
|
|
|
|
|
|
|
|
import("//build/config/features.gni")
|
2016-06-20 06:03:39 -07:00
|
|
|
import("//testing/libfuzzer/fuzzer_test.gni")
|
2018-11-23 13:15:08 +01:00
|
|
|
import("../../webrtc.gni")
|
2015-11-23 15:12:06 +01:00
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("webrtc_fuzzer_main") {
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "webrtc_fuzzer_main.cc" ]
|
2015-11-23 15:12:06 +01:00
|
|
|
deps = [
|
2019-11-23 15:10:32 +00:00
|
|
|
"../../rtc_base:rtc_base_approved",
|
2015-11-23 15:12:06 +01:00
|
|
|
"//testing/libfuzzer:libfuzzer_main",
|
|
|
|
|
]
|
2019-11-23 15:10:32 +00:00
|
|
|
|
|
|
|
|
# When WebRTC fuzzer tests are built on Chromium bots they need to link
|
2021-02-25 10:10:08 +01:00
|
|
|
# with Chromium's implementation of metrics, field trial, and system time.
|
2018-09-18 23:41:33 +02:00
|
|
|
if (build_with_chromium) {
|
2019-11-23 15:10:32 +00:00
|
|
|
deps += [
|
|
|
|
|
"../../../webrtc_overrides:field_trial",
|
|
|
|
|
"../../../webrtc_overrides:metrics",
|
2021-02-25 10:10:08 +01:00
|
|
|
"../../../webrtc_overrides:system_time",
|
2019-11-23 15:10:32 +00:00
|
|
|
]
|
2018-09-18 23:41:33 +02:00
|
|
|
}
|
2015-11-23 15:12:06 +01:00
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("fuzz_data_helper") {
|
2020-02-27 16:32:56 +01:00
|
|
|
testonly = true
|
2018-05-17 16:44:47 +02:00
|
|
|
sources = [
|
|
|
|
|
"fuzz_data_helper.cc",
|
|
|
|
|
"fuzz_data_helper.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
"../../api:array_view",
|
|
|
|
|
"../../modules/rtp_rtcp:rtp_rtcp_format",
|
|
|
|
|
]
|
|
|
|
|
visibility = [ ":*" ] # Only targets in this file can depend on this.
|
|
|
|
|
}
|
|
|
|
|
|
2020-06-23 23:39:56 +02:00
|
|
|
set_defaults("webrtc_fuzzer_test") {
|
2021-07-20 10:37:07 +02:00
|
|
|
configs = rtc_add_configs
|
2020-06-23 23:39:56 +02:00
|
|
|
absl_deps = []
|
|
|
|
|
}
|
|
|
|
|
|
2016-06-20 06:03:39 -07:00
|
|
|
template("webrtc_fuzzer_test") {
|
|
|
|
|
fuzzer_test(target_name) {
|
|
|
|
|
forward_variables_from(invoker, "*")
|
2017-10-05 10:58:49 +02:00
|
|
|
deps += [
|
2018-05-17 16:44:47 +02:00
|
|
|
":fuzz_data_helper",
|
2017-10-05 10:58:49 +02:00
|
|
|
":webrtc_fuzzer_main",
|
|
|
|
|
]
|
2021-07-20 10:37:07 +02:00
|
|
|
additional_configs = configs
|
2020-06-23 23:39:56 +02:00
|
|
|
|
|
|
|
|
# If absl_deps is [], no action is needed. If not [], then it needs to be
|
|
|
|
|
# converted to //third_party/abseil-cpp:absl when build_with_chromium=true
|
|
|
|
|
# otherwise it just needs to be added to deps.
|
|
|
|
|
if (absl_deps != []) {
|
|
|
|
|
if (!defined(deps)) {
|
|
|
|
|
deps = []
|
|
|
|
|
}
|
|
|
|
|
if (build_with_chromium) {
|
|
|
|
|
deps += [ "//third_party/abseil-cpp:absl" ]
|
|
|
|
|
} else {
|
|
|
|
|
deps += absl_deps
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2016-10-16 23:56:12 -07:00
|
|
|
if (!build_with_chromium && is_clang) {
|
2016-06-20 06:03:39 -07:00
|
|
|
suppressed_configs = [ "//build/config/clang:find_bad_constructs" ]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2015-12-17 14:28:16 +01:00
|
|
|
webrtc_fuzzer_test("h264_depacketizer_fuzzer") {
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "h264_depacketizer_fuzzer.cc" ]
|
|
|
|
|
deps = [ "../../modules/rtp_rtcp" ]
|
2015-12-17 14:28:16 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
webrtc_fuzzer_test("vp8_depacketizer_fuzzer") {
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "vp8_depacketizer_fuzzer.cc" ]
|
2015-12-17 14:28:16 +01:00
|
|
|
deps = [
|
2020-01-08 13:36:38 +01:00
|
|
|
"../../api:array_view",
|
2015-12-17 14:28:16 +01:00
|
|
|
"../../modules/rtp_rtcp",
|
2020-01-08 13:36:38 +01:00
|
|
|
"../../modules/rtp_rtcp:rtp_video_header",
|
2015-12-17 14:28:16 +01:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2015-12-15 21:57:52 +01:00
|
|
|
webrtc_fuzzer_test("vp9_depacketizer_fuzzer") {
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "vp9_depacketizer_fuzzer.cc" ]
|
2015-11-23 15:12:06 +01:00
|
|
|
deps = [
|
2020-01-09 12:26:18 +01:00
|
|
|
"../../api:array_view",
|
2015-11-23 15:12:06 +01:00
|
|
|
"../../modules/rtp_rtcp",
|
2020-01-09 12:26:18 +01:00
|
|
|
"../../modules/rtp_rtcp:rtp_video_header",
|
2015-11-23 15:12:06 +01:00
|
|
|
]
|
|
|
|
|
}
|
2015-11-26 14:52:23 +01:00
|
|
|
|
2015-12-15 21:57:52 +01:00
|
|
|
webrtc_fuzzer_test("vp8_qp_parser_fuzzer") {
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "vp8_qp_parser_fuzzer.cc" ]
|
2015-11-26 14:52:23 +01:00
|
|
|
deps = [
|
2017-06-01 04:47:20 -07:00
|
|
|
"../../modules/video_coding:video_coding_utility",
|
2015-11-26 14:52:23 +01:00
|
|
|
"../../modules/video_coding/",
|
|
|
|
|
]
|
2016-10-03 02:02:49 -07:00
|
|
|
}
|
|
|
|
|
|
2017-06-06 23:41:44 -07:00
|
|
|
webrtc_fuzzer_test("vp9_qp_parser_fuzzer") {
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "vp9_qp_parser_fuzzer.cc" ]
|
2017-06-06 23:41:44 -07:00
|
|
|
deps = [
|
|
|
|
|
"../../modules/video_coding:video_coding_utility",
|
|
|
|
|
"../../modules/video_coding/",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2016-11-05 03:10:22 -07:00
|
|
|
webrtc_fuzzer_test("h264_bitstream_parser_fuzzer") {
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "h264_bitstream_parser_fuzzer.cc" ]
|
2016-11-05 03:10:22 -07:00
|
|
|
deps = [
|
2017-06-01 04:47:20 -07:00
|
|
|
"../../common_video",
|
2016-11-05 03:10:22 -07:00
|
|
|
"../../modules/video_coding/",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2017-12-13 14:04:24 +01:00
|
|
|
webrtc_fuzzer_test("forward_error_correction_fuzzer") {
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "forward_error_correction_fuzzer.cc" ]
|
2017-12-13 14:04:24 +01:00
|
|
|
deps = [
|
2019-01-25 20:26:48 +01:00
|
|
|
"../../api:scoped_refptr",
|
2017-12-13 14:04:24 +01:00
|
|
|
"../../modules/rtp_rtcp",
|
|
|
|
|
"../../modules/rtp_rtcp:rtp_rtcp_format",
|
|
|
|
|
"../../rtc_base:rtc_base_approved",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2016-10-03 02:02:49 -07:00
|
|
|
webrtc_fuzzer_test("flexfec_header_reader_fuzzer") {
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "flexfec_header_reader_fuzzer.cc" ]
|
2016-10-03 02:02:49 -07:00
|
|
|
deps = [
|
2019-01-25 20:26:48 +01:00
|
|
|
"../../api:scoped_refptr",
|
2017-04-25 04:04:50 -07:00
|
|
|
"../../modules/rtp_rtcp",
|
2017-12-06 07:51:33 +01:00
|
|
|
"../../modules/rtp_rtcp:rtp_rtcp_format",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../../rtc_base:rtc_base_approved",
|
2016-10-03 02:02:49 -07:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2016-11-06 22:45:15 -08:00
|
|
|
webrtc_fuzzer_test("flexfec_sender_fuzzer") {
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "flexfec_sender_fuzzer.cc" ]
|
2016-11-06 22:45:15 -08:00
|
|
|
deps = [
|
2017-04-25 04:04:50 -07:00
|
|
|
"../../modules/rtp_rtcp",
|
2017-12-06 07:51:33 +01:00
|
|
|
"../../modules/rtp_rtcp:rtp_rtcp_format",
|
2017-06-01 04:47:20 -07:00
|
|
|
"../../system_wrappers",
|
2016-11-06 22:45:15 -08:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2016-10-03 02:02:49 -07:00
|
|
|
webrtc_fuzzer_test("ulpfec_header_reader_fuzzer") {
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "ulpfec_header_reader_fuzzer.cc" ]
|
2016-10-03 02:02:49 -07:00
|
|
|
deps = [
|
2019-01-25 20:26:48 +01:00
|
|
|
"../../api:scoped_refptr",
|
2017-04-25 04:04:50 -07:00
|
|
|
"../../modules/rtp_rtcp",
|
|
|
|
|
"../../modules/rtp_rtcp:fec_test_helper",
|
2017-12-06 07:51:33 +01:00
|
|
|
"../../modules/rtp_rtcp:rtp_rtcp_format",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../../rtc_base:rtc_base_approved",
|
2016-10-03 02:02:49 -07:00
|
|
|
]
|
2015-12-11 18:25:45 +01:00
|
|
|
}
|
|
|
|
|
|
2016-10-31 05:27:07 -07:00
|
|
|
webrtc_fuzzer_test("ulpfec_generator_fuzzer") {
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "ulpfec_generator_fuzzer.cc" ]
|
2015-12-11 18:25:45 +01:00
|
|
|
deps = [
|
2018-07-02 17:28:07 +02:00
|
|
|
"../../modules:module_api_public",
|
2017-04-25 04:04:50 -07:00
|
|
|
"../../modules/rtp_rtcp",
|
|
|
|
|
"../../modules/rtp_rtcp:fec_test_helper",
|
2017-12-06 07:51:33 +01:00
|
|
|
"../../modules/rtp_rtcp:rtp_rtcp_format",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../../rtc_base:checks",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../../rtc_base:rtc_base_approved",
|
2020-03-05 10:14:04 +01:00
|
|
|
"../../system_wrappers",
|
2015-12-11 18:25:45 +01:00
|
|
|
]
|
2015-11-26 14:52:23 +01:00
|
|
|
}
|
2015-12-08 11:27:27 +01:00
|
|
|
|
2017-10-20 16:23:23 +02:00
|
|
|
webrtc_fuzzer_test("ulpfec_receiver_fuzzer") {
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "ulpfec_receiver_fuzzer.cc" ]
|
2017-10-20 16:23:23 +02:00
|
|
|
deps = [
|
2019-09-20 11:40:12 +02:00
|
|
|
":fuzz_data_helper",
|
2017-10-20 16:23:23 +02:00
|
|
|
"../../modules/rtp_rtcp",
|
2017-12-06 07:51:33 +01:00
|
|
|
"../../modules/rtp_rtcp:rtp_rtcp_format",
|
2017-10-20 16:23:23 +02:00
|
|
|
"../../rtc_base:rtc_base_approved",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2016-10-18 01:18:04 -07:00
|
|
|
webrtc_fuzzer_test("flexfec_receiver_fuzzer") {
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "flexfec_receiver_fuzzer.cc" ]
|
2016-10-18 01:18:04 -07:00
|
|
|
deps = [
|
2017-04-25 04:04:50 -07:00
|
|
|
"../../modules/rtp_rtcp",
|
2017-12-06 07:51:33 +01:00
|
|
|
"../../modules/rtp_rtcp:rtp_rtcp_format",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../../rtc_base:rtc_base_approved",
|
2016-10-18 01:18:04 -07:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2017-01-11 02:01:56 -08:00
|
|
|
webrtc_fuzzer_test("packet_buffer_fuzzer") {
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "packet_buffer_fuzzer.cc" ]
|
2017-01-11 02:01:56 -08:00
|
|
|
deps = [
|
2017-04-24 13:05:47 -07:00
|
|
|
"../../modules/video_coding/",
|
2017-06-01 04:47:20 -07:00
|
|
|
"../../system_wrappers",
|
2017-01-11 02:01:56 -08:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2016-02-23 11:35:30 +01:00
|
|
|
webrtc_fuzzer_test("rtcp_receiver_fuzzer") {
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "rtcp_receiver_fuzzer.cc" ]
|
2016-02-23 11:35:30 +01:00
|
|
|
deps = [
|
2017-04-25 04:04:50 -07:00
|
|
|
"../../modules/rtp_rtcp",
|
2018-10-05 10:38:13 -07:00
|
|
|
"../../modules/rtp_rtcp:rtp_rtcp_format",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../../rtc_base:checks",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../../rtc_base:rtc_base_approved",
|
2019-03-21 13:35:10 +01:00
|
|
|
"../../system_wrappers",
|
2016-02-23 11:35:30 +01:00
|
|
|
]
|
2016-06-22 06:43:22 -07:00
|
|
|
seed_corpus = "corpora/rtcp-corpus"
|
2016-02-23 11:35:30 +01:00
|
|
|
}
|
|
|
|
|
|
2016-04-20 05:25:10 -07:00
|
|
|
webrtc_fuzzer_test("rtp_packet_fuzzer") {
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "rtp_packet_fuzzer.cc" ]
|
2020-06-23 23:39:56 +02:00
|
|
|
deps = [ "../../modules/rtp_rtcp:rtp_rtcp_format" ]
|
|
|
|
|
absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
|
2016-06-22 06:43:22 -07:00
|
|
|
seed_corpus = "corpora/rtp-corpus"
|
2016-04-20 05:25:10 -07:00
|
|
|
}
|
|
|
|
|
|
2019-11-29 10:08:33 +01:00
|
|
|
webrtc_fuzzer_test("rtp_packetizer_av1_fuzzer") {
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "rtp_packetizer_av1_fuzzer.cc" ]
|
2019-11-29 10:08:33 +01:00
|
|
|
deps = [
|
|
|
|
|
"../../api/video:video_frame_type",
|
|
|
|
|
"../../modules/rtp_rtcp:rtp_rtcp",
|
|
|
|
|
"../../modules/rtp_rtcp:rtp_rtcp_format",
|
|
|
|
|
"../../rtc_base:checks",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2016-06-23 03:50:39 -07:00
|
|
|
webrtc_fuzzer_test("rtp_header_fuzzer") {
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "rtp_header_fuzzer.cc" ]
|
2016-06-23 03:50:39 -07:00
|
|
|
deps = [
|
2017-04-25 04:04:50 -07:00
|
|
|
"../../modules/rtp_rtcp",
|
2017-12-06 07:51:33 +01:00
|
|
|
"../../modules/rtp_rtcp:rtp_rtcp_format",
|
2016-06-23 03:50:39 -07:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2016-07-18 09:26:06 -07:00
|
|
|
webrtc_fuzzer_test("congestion_controller_feedback_fuzzer") {
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "congestion_controller_feedback_fuzzer.cc" ]
|
2016-07-18 09:26:06 -07:00
|
|
|
deps = [
|
2017-08-21 10:45:07 +02:00
|
|
|
"../../modules/congestion_controller",
|
|
|
|
|
"../../modules/pacing",
|
2019-03-21 13:35:10 +01:00
|
|
|
"../../modules/remote_bitrate_estimator",
|
2017-12-06 07:51:33 +01:00
|
|
|
"../../modules/rtp_rtcp:rtp_rtcp_format",
|
2016-07-18 09:26:06 -07:00
|
|
|
]
|
2021-05-12 09:02:43 +02:00
|
|
|
absl_deps = [ "//third_party/abseil-cpp/absl/functional:bind_front" ]
|
2016-07-18 09:26:06 -07:00
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("audio_decoder_fuzzer") {
|
2020-02-27 16:32:56 +01:00
|
|
|
testonly = true
|
2015-12-08 11:27:27 +01:00
|
|
|
sources = [
|
|
|
|
|
"audio_decoder_fuzzer.cc",
|
|
|
|
|
"audio_decoder_fuzzer.h",
|
|
|
|
|
]
|
2017-06-01 04:47:20 -07:00
|
|
|
deps = [
|
|
|
|
|
"../../api/audio_codecs:audio_codecs_api",
|
2017-12-06 07:51:33 +01:00
|
|
|
"../../modules/rtp_rtcp:rtp_rtcp_format",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../../rtc_base:checks",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../../rtc_base:rtc_base_approved",
|
2017-06-01 04:47:20 -07:00
|
|
|
]
|
2020-06-05 14:30:41 +02:00
|
|
|
absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
|
2015-12-08 11:27:27 +01:00
|
|
|
}
|
|
|
|
|
|
2015-12-15 21:57:52 +01:00
|
|
|
webrtc_fuzzer_test("audio_decoder_ilbc_fuzzer") {
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "audio_decoder_ilbc_fuzzer.cc" ]
|
2015-12-08 11:27:27 +01:00
|
|
|
deps = [
|
|
|
|
|
":audio_decoder_fuzzer",
|
|
|
|
|
"../../modules/audio_coding:ilbc",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2015-12-15 21:57:52 +01:00
|
|
|
webrtc_fuzzer_test("audio_decoder_isac_fuzzer") {
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "audio_decoder_isac_fuzzer.cc" ]
|
2015-12-08 11:27:27 +01:00
|
|
|
deps = [
|
|
|
|
|
":audio_decoder_fuzzer",
|
|
|
|
|
"../../modules/audio_coding:isac",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2015-12-15 21:57:52 +01:00
|
|
|
webrtc_fuzzer_test("audio_decoder_isacfix_fuzzer") {
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "audio_decoder_isacfix_fuzzer.cc" ]
|
2015-12-08 11:27:27 +01:00
|
|
|
deps = [
|
|
|
|
|
":audio_decoder_fuzzer",
|
|
|
|
|
"../../modules/audio_coding:isac_fix",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2015-12-15 21:57:52 +01:00
|
|
|
webrtc_fuzzer_test("audio_decoder_opus_fuzzer") {
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "audio_decoder_opus_fuzzer.cc" ]
|
2015-12-08 11:27:27 +01:00
|
|
|
deps = [
|
|
|
|
|
":audio_decoder_fuzzer",
|
|
|
|
|
"../../modules/audio_coding:webrtc_opus",
|
|
|
|
|
]
|
|
|
|
|
}
|
2016-02-09 00:00:23 -08:00
|
|
|
|
|
|
|
|
webrtc_fuzzer_test("audio_decoder_opus_redundant_fuzzer") {
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "audio_decoder_opus_redundant_fuzzer.cc" ]
|
2016-02-09 00:00:23 -08:00
|
|
|
deps = [
|
|
|
|
|
":audio_decoder_fuzzer",
|
|
|
|
|
"../../modules/audio_coding:webrtc_opus",
|
|
|
|
|
]
|
|
|
|
|
}
|
2016-07-06 05:59:23 -07:00
|
|
|
|
2019-04-08 17:19:41 +02:00
|
|
|
webrtc_fuzzer_test("audio_decoder_multiopus_fuzzer") {
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "audio_decoder_multistream_opus_fuzzer.cc" ]
|
2019-04-08 17:19:41 +02:00
|
|
|
deps = [
|
|
|
|
|
":audio_decoder_fuzzer",
|
|
|
|
|
"../../api/audio_codecs/opus:audio_decoder_multiopus",
|
2019-04-25 15:09:32 +02:00
|
|
|
"../../api/audio_codecs/opus:audio_decoder_opus_config",
|
2019-04-08 17:19:41 +02:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2020-02-27 16:32:56 +01:00
|
|
|
rtc_library("audio_encoder_fuzzer") {
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"audio_encoder_fuzzer.cc",
|
|
|
|
|
"audio_encoder_fuzzer.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":fuzz_data_helper",
|
|
|
|
|
"../../api:array_view",
|
|
|
|
|
"../../api/audio_codecs:audio_codecs_api",
|
|
|
|
|
"../../rtc_base:checks",
|
|
|
|
|
"../../rtc_base:rtc_base_approved",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2018-05-09 14:56:08 +02:00
|
|
|
webrtc_fuzzer_test("audio_encoder_opus_fuzzer") {
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "audio_encoder_opus_fuzzer.cc" ]
|
2018-05-09 14:56:08 +02:00
|
|
|
deps = [
|
2020-02-27 16:32:56 +01:00
|
|
|
":audio_encoder_fuzzer",
|
2018-05-09 14:56:08 +02:00
|
|
|
"../../api/audio_codecs/opus:audio_encoder_opus",
|
|
|
|
|
"../../rtc_base:checks",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2020-02-27 16:33:29 +01:00
|
|
|
webrtc_fuzzer_test("audio_encoder_isac_fixed_fuzzer") {
|
2020-05-26 12:58:54 +02:00
|
|
|
sources = [ "audio_encoder_isac_fixed_fuzzer.cc" ]
|
2020-02-27 16:33:29 +01:00
|
|
|
deps = [
|
|
|
|
|
":audio_encoder_fuzzer",
|
|
|
|
|
"../../api/audio_codecs/isac:audio_encoder_isac_fix",
|
|
|
|
|
"../../rtc_base:checks",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
webrtc_fuzzer_test("audio_encoder_isac_float_fuzzer") {
|
2020-05-26 12:58:54 +02:00
|
|
|
sources = [ "audio_encoder_isac_float_fuzzer.cc" ]
|
2020-02-27 16:33:29 +01:00
|
|
|
deps = [
|
|
|
|
|
":audio_encoder_fuzzer",
|
|
|
|
|
"../../api/audio_codecs/isac:audio_encoder_isac_float",
|
|
|
|
|
"../../rtc_base:checks",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2016-09-16 05:05:39 -07:00
|
|
|
webrtc_fuzzer_test("turn_unwrap_fuzzer") {
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "turn_unwrap_fuzzer.cc" ]
|
2016-09-16 05:05:39 -07:00
|
|
|
deps = [
|
2019-03-21 13:35:10 +01:00
|
|
|
"../../media",
|
2018-01-11 17:07:30 +01:00
|
|
|
"../../media:rtc_media_base",
|
2016-09-16 05:05:39 -07:00
|
|
|
]
|
|
|
|
|
}
|
2016-07-06 08:02:00 -07:00
|
|
|
|
2016-10-05 02:27:42 -07:00
|
|
|
webrtc_fuzzer_test("neteq_rtp_fuzzer") {
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "neteq_rtp_fuzzer.cc" ]
|
2016-10-05 02:27:42 -07:00
|
|
|
deps = [
|
2017-09-04 05:43:17 -07:00
|
|
|
"../../api:array_view",
|
2018-12-19 15:06:17 +01:00
|
|
|
"../../api/audio_codecs:builtin_audio_decoder_factory",
|
Revert of Enable GN check for webrtc/base (patchset #9 id:350001 of https://codereview.webrtc.org/2840453004/ )
Reason for revert:
It causes a Chromium build error:
ERROR at //third_party/webrtc/test/BUILD.gn:113:5: Can't load input file.
"//third_party/gflags",
Original issue's description:
> Reland of Enable GN check for webrtc/base (patchset #3 id:230001 of https://codereview.webrtc.org/2838683002/ )
>
> Reason for revert:
> Try to fix the webrtc/test/fuzzers issue and reland this CL because it
> contains lots of fixes for our BUILD.gn files.
>
> Original issue's description:
> > Revert of Enable GN check for webrtc/base (patchset #13 id:240001 of https://codereview.webrtc.org/2717083002/ )
> >
> > Reason for revert:
> > Breaks Chromium because in Chromium we import WebRTC with rtc_include_tests=false (https://bugs.chromium.org/p/chromium/issues/detail?id=713179#c6).
> >
> > Chromium uses webrtc/test/fuzzers and this CL adds test dependencies to neteq_rtc_fuzzer.
> >
> > Original issue's description:
> > > Enable GN check for webrtc/base
> > >
> > > It's not possible to enable it for the rtc_base_approved
> > > target but since a larger refactoring is ongoing for webrtc/base
> > > this CL doesn't attempt to fix that.
> > >
> > > Changes made:
> > > * Move webrtc/system_wrappers/include/stringize_macros.h into
> > > webrtc/base:rtc_base_approved_unittests (and corresponding
> > > unit test to rtc_base_approved_unittests).
> > > * Move md5digest.* from rtc_base_approved to rtc_base_test_utils target.
> > > * Move webrtc/system_wrappers/include/stringize_macros.h (+test) into
> > > webrtc/base.
> > > * Remove unused use include of webrtc/base/fileutils.h in
> > > webrtc/base/pathutils.cc
> > >
> > > BUG=webrtc:6828, webrtc:3806, webrtc:7480
> > > NOTRY=True
> > >
> > > Review-Url: https://codereview.webrtc.org/2717083002
> > > Cr-Commit-Position: refs/heads/master@{#17766}
> > > Committed: https://chromium.googlesource.com/external/webrtc/+/ed754e71ae8866db641677073274e86fe704eeac
> >
> > TBR=perkj@webrtc.org,tommi@webrtc.org,nisse@webrtc.org,kjellander@webrtc.org
> > # Not skipping CQ checks because original CL landed more than 1 days ago.
> > BUG=webrtc:6828, webrtc:3806, webrtc:7480
> > NOTRY=True
> >
> > Review-Url: https://codereview.webrtc.org/2838683002
> > Cr-Commit-Position: refs/heads/master@{#17849}
> > Committed: https://chromium.googlesource.com/external/webrtc/+/11ed366c487a938815cd52ad2ab5467b0f90e1ae
>
> TBR=perkj@webrtc.org,tommi@webrtc.org,nisse@webrtc.org,kjellander@webrtc.org
> # Skipping CQ checks because original CL landed less than 1 days ago.
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=webrtc:6828, webrtc:3806, webrtc:7480
>
> Review-Url: https://codereview.webrtc.org/2840453004
> Cr-Commit-Position: refs/heads/master@{#17876}
> Committed: https://chromium.googlesource.com/external/webrtc/+/7054085e59c3123613cd0014bedb0fe91a56e26f
TBR=perkj@webrtc.org,tommi@webrtc.org,nisse@webrtc.org,kjellander@webrtc.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=webrtc:6828, webrtc:3806, webrtc:7480
Review-Url: https://codereview.webrtc.org/2846483002
Cr-Commit-Position: refs/heads/master@{#17877}
2017-04-26 00:38:48 -07:00
|
|
|
"../../modules/audio_coding:neteq",
|
2017-06-01 04:47:20 -07:00
|
|
|
"../../modules/audio_coding:neteq_test_tools",
|
2017-04-28 00:59:45 -07:00
|
|
|
"../../modules/audio_coding:neteq_tools_minimal",
|
2016-10-05 02:27:42 -07:00
|
|
|
"../../modules/audio_coding:pcm16b",
|
2017-12-06 07:51:33 +01:00
|
|
|
"../../modules/rtp_rtcp:rtp_rtcp_format",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../../rtc_base:rtc_base_approved",
|
2016-10-05 02:27:42 -07:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2017-10-20 10:38:56 +02:00
|
|
|
webrtc_fuzzer_test("neteq_signal_fuzzer") {
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "neteq_signal_fuzzer.cc" ]
|
2017-10-20 10:38:56 +02:00
|
|
|
deps = [
|
|
|
|
|
"../../api:array_view",
|
2018-12-19 15:06:17 +01:00
|
|
|
"../../api/audio_codecs:builtin_audio_decoder_factory",
|
2017-10-20 10:38:56 +02:00
|
|
|
"../../modules/audio_coding:neteq",
|
|
|
|
|
"../../modules/audio_coding:neteq_test_tools",
|
|
|
|
|
"../../modules/audio_coding:neteq_tools_minimal",
|
|
|
|
|
"../../modules/audio_coding:pcm16b",
|
|
|
|
|
"../../rtc_base:rtc_base_approved",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2017-05-16 06:50:11 -07:00
|
|
|
webrtc_fuzzer_test("residual_echo_detector_fuzzer") {
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "residual_echo_detector_fuzzer.cc" ]
|
2017-05-16 06:50:11 -07:00
|
|
|
deps = [
|
2020-05-12 10:48:19 +02:00
|
|
|
"../../api/audio:echo_detector_creator",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../../rtc_base:checks",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../../rtc_base:rtc_base_approved",
|
2017-05-16 06:50:11 -07:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2016-09-16 05:05:39 -07:00
|
|
|
webrtc_fuzzer_test("sdp_parser_fuzzer") {
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "sdp_parser_fuzzer.cc" ]
|
2016-09-16 05:05:39 -07:00
|
|
|
deps = [
|
2017-12-06 11:23:19 +01:00
|
|
|
"../../api:libjingle_peerconnection_api",
|
2017-01-23 04:56:25 -08:00
|
|
|
"../../pc:libjingle_peerconnection",
|
2016-09-16 05:05:39 -07:00
|
|
|
]
|
|
|
|
|
seed_corpus = "corpora/sdp-corpus"
|
|
|
|
|
}
|
2016-07-06 08:02:00 -07:00
|
|
|
|
2021-03-08 07:01:48 +00:00
|
|
|
if (!build_with_chromium) {
|
|
|
|
|
# This target depends on test infrastructure that can't be built
|
|
|
|
|
# with Chromium at the moment.
|
|
|
|
|
# TODO(bugs.chromium.org/12534): Make this fuzzer build in Chromium.
|
|
|
|
|
|
|
|
|
|
webrtc_fuzzer_test("sdp_integration_fuzzer") {
|
|
|
|
|
sources = [ "sdp_integration_fuzzer.cc" ]
|
|
|
|
|
deps = [
|
|
|
|
|
"../../api:libjingle_peerconnection_api",
|
|
|
|
|
"../../pc:integration_test_helpers",
|
|
|
|
|
"../../pc:libjingle_peerconnection",
|
|
|
|
|
"../../test:test_support",
|
|
|
|
|
]
|
|
|
|
|
seed_corpus = "corpora/sdp-corpus"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2016-09-16 05:05:39 -07:00
|
|
|
webrtc_fuzzer_test("stun_parser_fuzzer") {
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "stun_parser_fuzzer.cc" ]
|
2016-09-16 05:05:39 -07:00
|
|
|
deps = [
|
2019-11-18 15:53:32 +01:00
|
|
|
"../../api/transport:stun_types",
|
2016-09-16 05:05:39 -07:00
|
|
|
"../../p2p:rtc_p2p",
|
|
|
|
|
]
|
|
|
|
|
seed_corpus = "corpora/stun-corpus"
|
|
|
|
|
dict = "corpora/stun.tokens"
|
|
|
|
|
}
|
2016-07-06 08:02:00 -07:00
|
|
|
|
2016-09-16 05:05:39 -07:00
|
|
|
webrtc_fuzzer_test("stun_validator_fuzzer") {
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "stun_validator_fuzzer.cc" ]
|
2016-09-16 05:05:39 -07:00
|
|
|
deps = [
|
2019-11-18 15:53:32 +01:00
|
|
|
"../../api/transport:stun_types",
|
2016-09-16 05:05:39 -07:00
|
|
|
"../../p2p:rtc_p2p",
|
|
|
|
|
]
|
|
|
|
|
seed_corpus = "corpora/stun-corpus"
|
|
|
|
|
dict = "corpora/stun.tokens"
|
|
|
|
|
}
|
2016-07-07 05:52:24 -07:00
|
|
|
|
2016-09-16 05:05:39 -07:00
|
|
|
webrtc_fuzzer_test("pseudotcp_parser_fuzzer") {
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "pseudotcp_parser_fuzzer.cc" ]
|
2016-09-16 05:05:39 -07:00
|
|
|
deps = [
|
|
|
|
|
"../../p2p:rtc_p2p",
|
2019-03-21 13:35:10 +01:00
|
|
|
"../../rtc_base",
|
2021-01-15 10:41:01 +01:00
|
|
|
"../../rtc_base:threading",
|
2016-09-16 05:05:39 -07:00
|
|
|
]
|
2016-07-06 05:59:23 -07:00
|
|
|
}
|
2017-01-23 08:07:05 -08:00
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("audio_processing_fuzzer_helper") {
|
2020-02-27 16:32:56 +01:00
|
|
|
testonly = true
|
2017-06-20 05:26:55 -07:00
|
|
|
sources = [
|
2018-01-16 12:50:34 +01:00
|
|
|
"audio_processing_fuzzer_helper.cc",
|
|
|
|
|
"audio_processing_fuzzer_helper.h",
|
2017-06-20 05:26:55 -07:00
|
|
|
]
|
|
|
|
|
deps = [
|
2018-01-16 12:50:34 +01:00
|
|
|
":fuzz_data_helper",
|
2018-04-12 22:44:09 +02:00
|
|
|
"../../api/audio:audio_frame_api",
|
2017-06-20 05:26:55 -07:00
|
|
|
"../../modules/audio_processing",
|
2018-11-07 14:29:54 +00:00
|
|
|
"../../modules/audio_processing:api",
|
2020-04-07 11:33:16 +02:00
|
|
|
"../../modules/audio_processing:audio_frame_proxies",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../../rtc_base:checks",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../../rtc_base:rtc_base_approved",
|
2017-06-20 05:26:55 -07:00
|
|
|
]
|
2020-06-05 14:30:41 +02:00
|
|
|
absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
|
2017-06-20 05:26:55 -07:00
|
|
|
}
|
2017-12-07 09:21:36 +01:00
|
|
|
|
2018-01-16 12:50:34 +01:00
|
|
|
webrtc_fuzzer_test("audio_processing_fuzzer") {
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "audio_processing_configs_fuzzer.cc" ]
|
2018-01-16 12:50:34 +01:00
|
|
|
deps = [
|
|
|
|
|
":audio_processing_fuzzer_helper",
|
2019-01-25 20:26:48 +01:00
|
|
|
"../../api:scoped_refptr",
|
2018-02-27 13:58:45 +01:00
|
|
|
"../../api/audio:aec3_factory",
|
2019-07-11 13:58:14 +02:00
|
|
|
"../../api/task_queue:default_task_queue_factory",
|
2018-01-16 12:50:34 +01:00
|
|
|
"../../modules/audio_processing",
|
2018-11-07 14:29:54 +00:00
|
|
|
"../../modules/audio_processing:api",
|
2019-03-06 04:16:46 +01:00
|
|
|
"../../modules/audio_processing:audio_buffer",
|
2020-04-26 23:56:17 +02:00
|
|
|
"../../modules/audio_processing:audioproc_test_utils",
|
2018-02-23 13:18:29 +01:00
|
|
|
"../../modules/audio_processing/aec3",
|
2018-10-23 13:43:28 +02:00
|
|
|
"../../modules/audio_processing/aec_dump",
|
|
|
|
|
"../../modules/audio_processing/aec_dump:aec_dump_impl",
|
2018-02-20 15:58:36 +01:00
|
|
|
"../../rtc_base:rtc_base_approved",
|
2018-10-23 13:43:28 +02:00
|
|
|
"../../rtc_base:rtc_task_queue",
|
2018-03-07 14:18:56 +01:00
|
|
|
"../../rtc_base:safe_minmax",
|
2018-09-28 08:51:10 +02:00
|
|
|
"../../system_wrappers:field_trial",
|
2018-01-16 12:50:34 +01:00
|
|
|
]
|
2020-06-23 23:39:56 +02:00
|
|
|
absl_deps = [ "//third_party/abseil-cpp/absl/memory" ]
|
2018-03-02 13:53:09 +01:00
|
|
|
seed_corpus = "corpora/audio_processing-corpus"
|
2018-01-16 12:50:34 +01:00
|
|
|
}
|
|
|
|
|
|
2018-06-21 14:09:16 +02:00
|
|
|
webrtc_fuzzer_test("agc_fuzzer") {
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "agc_fuzzer.cc" ]
|
2018-06-21 14:09:16 +02:00
|
|
|
deps = [
|
|
|
|
|
":fuzz_data_helper",
|
|
|
|
|
"../../modules/audio_processing",
|
2018-11-07 14:29:54 +00:00
|
|
|
"../../modules/audio_processing:api",
|
2019-03-06 04:16:46 +01:00
|
|
|
"../../modules/audio_processing:audio_buffer",
|
2018-06-21 14:09:16 +02:00
|
|
|
"../../rtc_base:rtc_base_approved",
|
|
|
|
|
"../../rtc_base:safe_minmax",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
seed_corpus = "corpora/agc-corpus"
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 17:56:21 +02:00
|
|
|
webrtc_fuzzer_test("aec3_config_json_fuzzer") {
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "aec3_config_json_fuzzer.cc" ]
|
2019-10-17 17:56:21 +02:00
|
|
|
deps = [
|
|
|
|
|
":fuzz_data_helper",
|
|
|
|
|
"../../api/audio:aec3_config",
|
|
|
|
|
"../../api/audio:aec3_config_json",
|
|
|
|
|
]
|
|
|
|
|
dict = "//testing/libfuzzer/fuzzers/dicts/json.dict"
|
|
|
|
|
seed_corpus = "corpora/aec3-config-json-corpus"
|
|
|
|
|
}
|
|
|
|
|
|
2019-11-26 18:55:02 +01:00
|
|
|
webrtc_fuzzer_test("aec3_fuzzer") {
|
|
|
|
|
defines = []
|
|
|
|
|
if (apm_debug_dump) {
|
|
|
|
|
defines += [ "WEBRTC_APM_DEBUG_DUMP=1" ]
|
|
|
|
|
} else {
|
|
|
|
|
defines += [ "WEBRTC_APM_DEBUG_DUMP=0" ]
|
|
|
|
|
}
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "aec3_fuzzer.cc" ]
|
2019-11-26 18:55:02 +01:00
|
|
|
deps = [
|
|
|
|
|
":fuzz_data_helper",
|
2019-12-04 11:01:52 +01:00
|
|
|
"../../modules/audio_processing:api",
|
2019-11-26 18:55:02 +01:00
|
|
|
"../../modules/audio_processing:audio_buffer",
|
|
|
|
|
"../../modules/audio_processing/aec3",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2017-12-07 09:21:36 +01:00
|
|
|
webrtc_fuzzer_test("comfort_noise_decoder_fuzzer") {
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "comfort_noise_decoder_fuzzer.cc" ]
|
2017-12-07 09:21:36 +01:00
|
|
|
deps = [
|
|
|
|
|
"../../api:array_view",
|
2018-11-01 11:13:44 +01:00
|
|
|
"../../modules/audio_coding:webrtc_cng",
|
2017-12-07 09:21:36 +01:00
|
|
|
"../../rtc_base:rtc_base_approved",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-11-21 16:05:25 +01:00
|
|
|
webrtc_fuzzer_test("rtp_depacketizer_av1_assemble_frame_fuzzer") {
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "rtp_depacketizer_av1_assemble_frame_fuzzer.cc" ]
|
2019-11-26 10:13:07 +01:00
|
|
|
seed_corpus = "corpora/rtp-depacketizer-av1-assemble-frame-corpus"
|
2019-11-21 16:05:25 +01:00
|
|
|
deps = [
|
|
|
|
|
":fuzz_data_helper",
|
|
|
|
|
"../../api:array_view",
|
|
|
|
|
"../../modules/rtp_rtcp",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-09-20 12:24:56 +02:00
|
|
|
webrtc_fuzzer_test("rtp_dependency_descriptor_fuzzer") {
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "rtp_dependency_descriptor_fuzzer.cc" ]
|
2019-09-20 12:24:56 +02:00
|
|
|
seed_corpus = "corpora/dependency_descriptor-corpus"
|
|
|
|
|
deps = [
|
|
|
|
|
"../../api:array_view",
|
|
|
|
|
"../../common_video/generic_frame_descriptor",
|
|
|
|
|
"../../modules/rtp_rtcp:rtp_rtcp_format",
|
|
|
|
|
"../../rtc_base:checks",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2018-05-16 14:06:13 +02:00
|
|
|
webrtc_fuzzer_test("rtp_frame_reference_finder_fuzzer") {
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "rtp_frame_reference_finder_fuzzer.cc" ]
|
2018-05-16 14:06:13 +02:00
|
|
|
deps = [
|
2019-06-20 10:05:55 +02:00
|
|
|
"../../api:rtp_packet_info",
|
2019-01-25 20:26:48 +01:00
|
|
|
"../../api:scoped_refptr",
|
2018-05-16 14:06:13 +02:00
|
|
|
"../../modules/video_coding/",
|
|
|
|
|
"../../system_wrappers",
|
|
|
|
|
]
|
|
|
|
|
}
|
2018-05-17 13:34:53 +02:00
|
|
|
|
|
|
|
|
webrtc_fuzzer_test("frame_buffer2_fuzzer") {
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "frame_buffer2_fuzzer.cc" ]
|
2018-05-17 13:34:53 +02:00
|
|
|
deps = [
|
|
|
|
|
"../../modules/video_coding/",
|
2020-01-29 17:36:11 +01:00
|
|
|
"../time_controller:time_controller",
|
2018-05-17 13:34:53 +02:00
|
|
|
]
|
|
|
|
|
}
|
2018-12-11 16:35:04 -08:00
|
|
|
|
2019-03-12 10:56:05 -07:00
|
|
|
webrtc_fuzzer_test("field_trial_fuzzer") {
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "field_trial_fuzzer.cc" ]
|
|
|
|
|
deps = [ "../../system_wrappers:field_trial" ]
|
2019-03-12 10:56:05 -07:00
|
|
|
seed_corpus = "corpora/field_trial-corpus"
|
|
|
|
|
}
|
2019-03-12 14:03:33 -07:00
|
|
|
|
|
|
|
|
webrtc_fuzzer_test("string_to_number_fuzzer") {
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "string_to_number_fuzzer.cc" ]
|
|
|
|
|
deps = [ "../../rtc_base:rtc_base_approved" ]
|
2019-03-12 14:03:33 -07:00
|
|
|
seed_corpus = "corpora/string_to_number-corpus"
|
|
|
|
|
}
|
2019-03-12 17:00:25 -07:00
|
|
|
|
2019-03-13 10:59:12 -07:00
|
|
|
webrtc_fuzzer_test("sctp_utils_fuzzer") {
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "sctp_utils_fuzzer.cc" ]
|
2019-03-13 10:59:12 -07:00
|
|
|
deps = [
|
|
|
|
|
"../../api:libjingle_peerconnection_api",
|
|
|
|
|
"../../pc:libjingle_peerconnection",
|
2019-09-23 14:53:54 -07:00
|
|
|
"../../pc:rtc_pc_base",
|
2019-03-13 10:59:12 -07:00
|
|
|
"../../rtc_base:rtc_base_approved",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2021-04-11 19:56:36 +02:00
|
|
|
webrtc_fuzzer_test("dcsctp_socket_fuzzer") {
|
|
|
|
|
sources = [ "dcsctp_socket_fuzzer.cc" ]
|
|
|
|
|
deps = [
|
|
|
|
|
"../../net/dcsctp/fuzzers:dcsctp_fuzzers",
|
|
|
|
|
"../../net/dcsctp/public:socket",
|
|
|
|
|
"../../net/dcsctp/public:types",
|
|
|
|
|
"../../net/dcsctp/socket:dcsctp_socket",
|
|
|
|
|
"../../rtc_base:rtc_base_approved",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2019-03-13 16:59:54 -07:00
|
|
|
webrtc_fuzzer_test("ssl_certificate_fuzzer") {
|
2021-07-08 16:21:31 +00:00
|
|
|
sources = [ "ssl_certificate_fuzzer.cc" ]
|
|
|
|
|
deps = [
|
|
|
|
|
"../:rtp_test_utils",
|
|
|
|
|
"../../rtc_base",
|
|
|
|
|
"../../rtc_base:stringutils",
|
|
|
|
|
]
|
2019-03-13 16:59:54 -07:00
|
|
|
}
|
2019-03-14 15:01:30 -07:00
|
|
|
|
|
|
|
|
webrtc_fuzzer_test("vp8_replay_fuzzer") {
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "vp8_replay_fuzzer.cc" ]
|
2019-03-14 15:01:30 -07:00
|
|
|
deps = [
|
|
|
|
|
"../../rtc_base:rtc_base_approved",
|
|
|
|
|
"utils:rtp_replayer",
|
|
|
|
|
]
|
|
|
|
|
seed_corpus = "corpora/rtpdump-corpus/vp8"
|
|
|
|
|
}
|
|
|
|
|
|
2021-04-21 14:35:54 +02:00
|
|
|
if (rtc_build_libvpx) {
|
|
|
|
|
webrtc_fuzzer_test("vp9_encoder_references_fuzzer") {
|
|
|
|
|
sources = [ "vp9_encoder_references_fuzzer.cc" ]
|
|
|
|
|
deps = [
|
|
|
|
|
"..:test_support",
|
|
|
|
|
"../../api:array_view",
|
|
|
|
|
"../../api/transport:webrtc_key_value_config",
|
|
|
|
|
"../../api/video:video_frame",
|
|
|
|
|
"../../api/video_codecs:video_codecs_api",
|
|
|
|
|
"../../modules/video_coding:frame_dependencies_calculator",
|
|
|
|
|
"../../modules/video_coding:mock_libvpx_interface",
|
|
|
|
|
"../../modules/video_coding:webrtc_vp9",
|
|
|
|
|
"../../rtc_base:safe_compare",
|
|
|
|
|
rtc_libvpx_dir,
|
|
|
|
|
]
|
|
|
|
|
absl_deps = [
|
|
|
|
|
"//third_party/abseil-cpp/absl/algorithm:container",
|
|
|
|
|
"//third_party/abseil-cpp/absl/base:core_headers",
|
|
|
|
|
"//third_party/abseil-cpp/absl/container:inlined_vector",
|
|
|
|
|
]
|
|
|
|
|
defines = [ "RTC_ENABLE_VP9" ]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2019-03-14 15:01:30 -07:00
|
|
|
webrtc_fuzzer_test("vp9_replay_fuzzer") {
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "vp9_replay_fuzzer.cc" ]
|
2019-03-14 15:01:30 -07:00
|
|
|
deps = [
|
|
|
|
|
"../../rtc_base:rtc_base_approved",
|
|
|
|
|
"utils:rtp_replayer",
|
|
|
|
|
]
|
|
|
|
|
seed_corpus = "corpora/rtpdump-corpus/vp9"
|
|
|
|
|
}
|