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.
|
|
|
|
|
|
2017-01-24 06:58:22 -08:00
|
|
|
import("../../webrtc.gni")
|
2015-11-23 15:12:06 +01:00
|
|
|
import("//build/config/features.gni")
|
2016-06-20 06:03:39 -07:00
|
|
|
import("//testing/libfuzzer/fuzzer_test.gni")
|
2015-11-23 15:12:06 +01:00
|
|
|
|
2016-09-02 04:10:34 -07:00
|
|
|
rtc_static_library("webrtc_fuzzer_main") {
|
2015-11-23 15:12:06 +01:00
|
|
|
sources = [
|
|
|
|
|
"webrtc_fuzzer_main.cc",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
2017-07-19 10:40:47 -07:00
|
|
|
"../../rtc_base:rtc_base_approved",
|
2015-11-25 21:58:36 +01:00
|
|
|
"../../system_wrappers:field_trial_default",
|
2015-11-26 14:52:23 +01:00
|
|
|
"../../system_wrappers:metrics_default",
|
2015-11-23 15:12:06 +01:00
|
|
|
"//testing/libfuzzer:libfuzzer_main",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
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 += [
|
|
|
|
|
":webrtc_fuzzer_main",
|
|
|
|
|
|
|
|
|
|
# Link unconditionally with webrtc's TaskQueue, regardless of
|
|
|
|
|
# rtc_link_task_queue_impl flag.
|
|
|
|
|
"../../rtc_base:rtc_task_queue_impl",
|
|
|
|
|
]
|
2016-10-16 23:56:12 -07:00
|
|
|
if (!build_with_chromium && is_clang) {
|
|
|
|
|
# Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
|
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") {
|
|
|
|
|
sources = [
|
|
|
|
|
"h264_depacketizer_fuzzer.cc",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
"../../modules/rtp_rtcp",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
webrtc_fuzzer_test("vp8_depacketizer_fuzzer") {
|
|
|
|
|
sources = [
|
|
|
|
|
"vp8_depacketizer_fuzzer.cc",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
"../../modules/rtp_rtcp",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2015-12-15 21:57:52 +01:00
|
|
|
webrtc_fuzzer_test("vp9_depacketizer_fuzzer") {
|
2015-11-23 15:12:06 +01:00
|
|
|
sources = [
|
|
|
|
|
"vp9_depacketizer_fuzzer.cc",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
"../../modules/rtp_rtcp",
|
|
|
|
|
]
|
|
|
|
|
}
|
2015-11-26 14:52:23 +01:00
|
|
|
|
2015-12-15 21:57:52 +01:00
|
|
|
webrtc_fuzzer_test("vp8_qp_parser_fuzzer") {
|
2015-11-26 14:52:23 +01:00
|
|
|
sources = [
|
|
|
|
|
"vp8_qp_parser_fuzzer.cc",
|
|
|
|
|
]
|
|
|
|
|
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") {
|
|
|
|
|
sources = [
|
|
|
|
|
"vp9_qp_parser_fuzzer.cc",
|
|
|
|
|
]
|
|
|
|
|
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") {
|
|
|
|
|
sources = [
|
|
|
|
|
"h264_bitstream_parser_fuzzer.cc",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
2017-06-01 04:47:20 -07:00
|
|
|
"../../common_video",
|
2016-11-05 03:10:22 -07:00
|
|
|
"../../modules/video_coding/",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2016-10-03 02:02:49 -07:00
|
|
|
webrtc_fuzzer_test("flexfec_header_reader_fuzzer") {
|
|
|
|
|
sources = [
|
|
|
|
|
"flexfec_header_reader_fuzzer.cc",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
2017-04-25 04:04:50 -07:00
|
|
|
"../../modules/rtp_rtcp",
|
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") {
|
|
|
|
|
sources = [
|
|
|
|
|
"flexfec_sender_fuzzer.cc",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
2017-04-25 04:04:50 -07:00
|
|
|
"../../modules/rtp_rtcp",
|
2017-06-01 04:47:20 -07:00
|
|
|
"../../system_wrappers",
|
2016-11-06 22:45:15 -08:00
|
|
|
]
|
|
|
|
|
libfuzzer_options = [ "max_len=200" ]
|
|
|
|
|
}
|
|
|
|
|
|
2016-10-03 02:02:49 -07:00
|
|
|
webrtc_fuzzer_test("ulpfec_header_reader_fuzzer") {
|
|
|
|
|
sources = [
|
|
|
|
|
"ulpfec_header_reader_fuzzer.cc",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
2017-04-25 04:04:50 -07:00
|
|
|
"../../modules/rtp_rtcp",
|
|
|
|
|
"../../modules/rtp_rtcp:fec_test_helper",
|
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") {
|
2015-12-11 18:25:45 +01:00
|
|
|
sources = [
|
2016-10-31 05:27:07 -07:00
|
|
|
"ulpfec_generator_fuzzer.cc",
|
2015-12-11 18:25:45 +01:00
|
|
|
]
|
|
|
|
|
deps = [
|
2017-04-25 04:04:50 -07:00
|
|
|
"../../modules/rtp_rtcp",
|
|
|
|
|
"../../modules/rtp_rtcp:fec_test_helper",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../../rtc_base:rtc_base_approved",
|
2015-12-11 18:25:45 +01:00
|
|
|
]
|
2015-11-26 14:52:23 +01:00
|
|
|
}
|
2015-12-08 11:27:27 +01:00
|
|
|
|
2016-10-18 01:18:04 -07:00
|
|
|
webrtc_fuzzer_test("flexfec_receiver_fuzzer") {
|
|
|
|
|
sources = [
|
|
|
|
|
"flexfec_receiver_fuzzer.cc",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
2017-04-25 04:04:50 -07:00
|
|
|
"../../modules/rtp_rtcp",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../../rtc_base:rtc_base_approved",
|
2016-10-18 01:18:04 -07:00
|
|
|
]
|
|
|
|
|
libfuzzer_options = [ "max_len=2000" ]
|
|
|
|
|
}
|
|
|
|
|
|
2017-01-11 02:01:56 -08:00
|
|
|
webrtc_fuzzer_test("packet_buffer_fuzzer") {
|
|
|
|
|
sources = [
|
|
|
|
|
"packet_buffer_fuzzer.cc",
|
|
|
|
|
]
|
|
|
|
|
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
|
|
|
]
|
|
|
|
|
libfuzzer_options = [ "max_len=2000" ]
|
|
|
|
|
}
|
|
|
|
|
|
2016-02-23 11:35:30 +01:00
|
|
|
webrtc_fuzzer_test("rtcp_receiver_fuzzer") {
|
|
|
|
|
sources = [
|
|
|
|
|
"rtcp_receiver_fuzzer.cc",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
2017-04-25 04:04:50 -07:00
|
|
|
"../../modules/rtp_rtcp",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../../rtc_base:rtc_base_approved",
|
2017-06-01 04:47:20 -07:00
|
|
|
"../../system_wrappers: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") {
|
|
|
|
|
sources = [
|
|
|
|
|
"rtp_packet_fuzzer.cc",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
2017-04-25 04:04:50 -07:00
|
|
|
"../../modules/rtp_rtcp",
|
2016-04-20 05:25:10 -07:00
|
|
|
]
|
2016-06-22 06:43:22 -07:00
|
|
|
seed_corpus = "corpora/rtp-corpus"
|
2016-04-20 05:25:10 -07:00
|
|
|
}
|
|
|
|
|
|
2016-06-23 03:50:39 -07:00
|
|
|
webrtc_fuzzer_test("rtp_header_fuzzer") {
|
|
|
|
|
sources = [
|
|
|
|
|
"rtp_header_fuzzer.cc",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
2017-04-25 04:04:50 -07:00
|
|
|
"../../modules/rtp_rtcp",
|
2016-06-23 03:50:39 -07:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2016-07-18 09:26:06 -07:00
|
|
|
webrtc_fuzzer_test("congestion_controller_feedback_fuzzer") {
|
|
|
|
|
sources = [
|
|
|
|
|
"congestion_controller_feedback_fuzzer.cc",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
2017-06-01 04:47:20 -07:00
|
|
|
"../../logging:rtc_event_log_api",
|
Moved RtcEventLog files from call/ to logging/
The RtcEventLog headers need to be accessible from any place which needs
logging, and the implementation needs access to data structures that are
logged.
After a discussion in the code review, we all agreed to move the RtcEventLog implementation into its own top level directory - which I called "logging/" in expectation that other types of logging may have similar requirements. The directory contains two main build targets - "rtc_event_log_api", which is just rtc_event_log.h, that has no external dependencies and can be used from anywhere, and "rtc_event_log_impl" which contains the rest of the implementation and has many dependencies (more in the future).
The "api" target can be referenced from anywhere, while the "impl" target is only needed at the place of instantiation (currently Call, soon to be moved to PeerConnection by https://codereview.webrtc.org/2353033005/).
This change allows using RtcEventLog in the p2p/ directory, so that we
can log STUN pings and ICE state transitions.
BUG=webrtc:6393
R=kjellander@webrtc.org, kwiberg@webrtc.org, solenberg@webrtc.org, stefan@webrtc.org, terelius@webrtc.org
Review URL: https://codereview.webrtc.org/2380683005 .
Cr-Commit-Position: refs/heads/master@{#14485}
2016-10-03 18:31:22 -07:00
|
|
|
"../../logging:rtc_event_log_impl",
|
2017-08-21 10:45:07 +02:00
|
|
|
"../../modules/congestion_controller",
|
|
|
|
|
"../../modules/pacing",
|
2017-06-01 04:47:20 -07:00
|
|
|
"../../modules/remote_bitrate_estimator:remote_bitrate_estimator",
|
|
|
|
|
"../../modules/rtp_rtcp",
|
2016-07-18 09:26:06 -07:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2016-09-23 00:38:52 -07:00
|
|
|
rtc_static_library("audio_decoder_fuzzer") {
|
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 = [
|
|
|
|
|
"../..:webrtc_common",
|
2017-09-05 08:43:13 -07:00
|
|
|
"../../api:optional",
|
2017-06-01 04:47:20 -07:00
|
|
|
"../../api/audio_codecs:audio_codecs_api",
|
|
|
|
|
"../../modules/rtp_rtcp",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../../rtc_base:rtc_base_approved",
|
2017-06-01 04:47:20 -07:00
|
|
|
]
|
2015-12-08 11:27:27 +01:00
|
|
|
}
|
|
|
|
|
|
2015-12-15 21:57:52 +01:00
|
|
|
webrtc_fuzzer_test("audio_decoder_ilbc_fuzzer") {
|
2015-12-08 11:27:27 +01:00
|
|
|
sources = [
|
|
|
|
|
"audio_decoder_ilbc_fuzzer.cc",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":audio_decoder_fuzzer",
|
|
|
|
|
"../../modules/audio_coding:ilbc",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2015-12-15 21:57:52 +01:00
|
|
|
webrtc_fuzzer_test("audio_decoder_isac_fuzzer") {
|
2015-12-08 11:27:27 +01:00
|
|
|
sources = [
|
|
|
|
|
"audio_decoder_isac_fuzzer.cc",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":audio_decoder_fuzzer",
|
|
|
|
|
"../../modules/audio_coding:isac",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2016-02-09 00:00:23 -08:00
|
|
|
webrtc_fuzzer_test("audio_decoder_isac_incoming_packet_fuzzer") {
|
|
|
|
|
sources = [
|
|
|
|
|
"audio_decoder_isac_incoming_packet_fuzzer.cc",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":audio_decoder_fuzzer",
|
|
|
|
|
"../../modules/audio_coding:isac",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2015-12-15 21:57:52 +01:00
|
|
|
webrtc_fuzzer_test("audio_decoder_isacfix_fuzzer") {
|
2015-12-08 11:27:27 +01:00
|
|
|
sources = [
|
|
|
|
|
"audio_decoder_isacfix_fuzzer.cc",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":audio_decoder_fuzzer",
|
|
|
|
|
"../../modules/audio_coding:isac_fix",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2015-12-15 21:57:52 +01:00
|
|
|
webrtc_fuzzer_test("audio_decoder_opus_fuzzer") {
|
2015-12-08 11:27:27 +01:00
|
|
|
sources = [
|
|
|
|
|
"audio_decoder_opus_fuzzer.cc",
|
|
|
|
|
]
|
|
|
|
|
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") {
|
|
|
|
|
sources = [
|
|
|
|
|
"audio_decoder_opus_redundant_fuzzer.cc",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":audio_decoder_fuzzer",
|
|
|
|
|
"../../modules/audio_coding:webrtc_opus",
|
|
|
|
|
]
|
|
|
|
|
}
|
2016-07-06 05:59:23 -07:00
|
|
|
|
2016-09-16 05:05:39 -07:00
|
|
|
webrtc_fuzzer_test("turn_unwrap_fuzzer") {
|
|
|
|
|
sources = [
|
|
|
|
|
"turn_unwrap_fuzzer.cc",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
"../../media:media",
|
|
|
|
|
]
|
|
|
|
|
}
|
2016-07-06 08:02:00 -07:00
|
|
|
|
2016-10-05 02:27:42 -07:00
|
|
|
webrtc_fuzzer_test("neteq_rtp_fuzzer") {
|
|
|
|
|
sources = [
|
|
|
|
|
"neteq_rtp_fuzzer.cc",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
2017-09-04 05:43:17 -07:00
|
|
|
"../../api:array_view",
|
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",
|
|
|
|
|
"../../modules/rtp_rtcp",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../../rtc_base:rtc_base_approved",
|
|
|
|
|
"../../rtc_base:rtc_base_tests_utils",
|
2016-10-05 02:27:42 -07:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2017-05-16 06:50:11 -07:00
|
|
|
webrtc_fuzzer_test("residual_echo_detector_fuzzer") {
|
|
|
|
|
sources = [
|
|
|
|
|
"residual_echo_detector_fuzzer.cc",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
"../../modules/audio_processing:audio_processing",
|
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") {
|
|
|
|
|
sources = [
|
|
|
|
|
"sdp_parser_fuzzer.cc",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
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
|
|
|
|
2016-09-16 05:05:39 -07:00
|
|
|
webrtc_fuzzer_test("stun_parser_fuzzer") {
|
|
|
|
|
sources = [
|
|
|
|
|
"stun_parser_fuzzer.cc",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
"../../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") {
|
|
|
|
|
sources = [
|
|
|
|
|
"stun_validator_fuzzer.cc",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
"../../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") {
|
|
|
|
|
sources = [
|
|
|
|
|
"pseudotcp_parser_fuzzer.cc",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
"../../p2p:rtc_p2p",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../../rtc_base:rtc_base",
|
2016-09-16 05:05:39 -07:00
|
|
|
]
|
2016-07-06 05:59:23 -07:00
|
|
|
}
|
2017-01-23 08:07:05 -08:00
|
|
|
|
|
|
|
|
webrtc_fuzzer_test("transport_feedback_packet_loss_tracker_fuzzer") {
|
|
|
|
|
sources = [
|
|
|
|
|
"transport_feedback_packet_loss_tracker_fuzzer.cc",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
2017-09-04 05:43:17 -07:00
|
|
|
"../../api:array_view",
|
2017-01-23 08:07:05 -08:00
|
|
|
"../../modules/rtp_rtcp",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../../rtc_base:rtc_base_approved",
|
2017-01-23 08:07:05 -08:00
|
|
|
"../../voice_engine",
|
|
|
|
|
]
|
|
|
|
|
}
|
2017-06-20 05:26:55 -07:00
|
|
|
|
|
|
|
|
webrtc_fuzzer_test("audio_processing_fuzzer") {
|
|
|
|
|
sources = [
|
|
|
|
|
"audio_processing_fuzzer.cc",
|
|
|
|
|
"audio_processing_fuzzer.h",
|
|
|
|
|
"audio_processing_fuzzer_configs.cc",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
2017-09-05 08:43:13 -07:00
|
|
|
"../../api:optional",
|
2017-06-20 05:26:55 -07:00
|
|
|
"../../modules:module_api",
|
|
|
|
|
"../../modules/audio_processing",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../../rtc_base:rtc_base_approved",
|
2017-06-20 05:26:55 -07:00
|
|
|
]
|
|
|
|
|
}
|