Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(332)

Issue 2876793002: Added AudioProcessing fuzzer (Closed)

Created:
3 years, 7 months ago by aleloi
Modified:
3 years, 6 months ago
Reviewers:
hlundin-webrtc
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Added new AudioProcessing fuzzer This is a high-level fuzzer that creates an AudioProcessing instance. All possible combinations of publicly visible components are fuzzed. Input and output sample rate, call order and use of the float/fix interface is fuzzed. Sample rate may change between calls. To fuzz floating point numbers, raw data is converted to floats, and filtered for special values like 'inf', 'nan' and very large values. Note that the default use case of APM is to only allow values between +/- 2^15. BUG=webrtc:7820 Review-Url: https://codereview.webrtc.org/2876793002 Cr-Commit-Position: refs/heads/master@{#18678} Committed: https://chromium.googlesource.com/external/webrtc/+/8c51282f7fd7e712628aba1677a9733d903eb219

Patch Set 1 : Almost reviewable shape: added float processing, minor cleanup. #

Patch Set 2 : cleanup #

Patch Set 3 : comments #

Total comments: 24

Patch Set 4 : Bugfixes, response to comments. #

Patch Set 5 : Minor change. #

Total comments: 4

Patch Set 6 : Fuzzed ProcessStream may now return error codes. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+267 lines, -0 lines) Patch
M webrtc/test/fuzzers/BUILD.gn View 1 chunk +13 lines, -0 lines 0 comments Download
A webrtc/test/fuzzers/audio_processing_fuzzer.h View 1 chunk +27 lines, -0 lines 0 comments Download
A webrtc/test/fuzzers/audio_processing_fuzzer.cc View 1 2 3 4 5 1 chunk +157 lines, -0 lines 0 comments Download
A webrtc/test/fuzzers/audio_processing_fuzzer_configs.cc View 1 2 3 4 1 chunk +70 lines, -0 lines 0 comments Download

Messages

Total messages: 36 (25 generated)
aleloi
Hi! PTAL on my CL which adds a fuzzer for the audio processing module.
3 years, 6 months ago (2017-06-15 13:03:55 UTC) #14
aleloi
Hi! PTAL on my CL which adds a fuzzer for the AudioProcessing module.
3 years, 6 months ago (2017-06-15 13:17:12 UTC) #16
hlundin-webrtc
Nice! I have a few comments only. https://codereview.webrtc.org/2876793002/diff/100001/webrtc/test/fuzzers/audio_processing_fuzzer.cc File webrtc/test/fuzzers/audio_processing_fuzzer.cc (right): https://codereview.webrtc.org/2876793002/diff/100001/webrtc/test/fuzzers/audio_processing_fuzzer.cc#newcode60 webrtc/test/fuzzers/audio_processing_fuzzer.cc:60: bool ParseSequence(size_t ...
3 years, 6 months ago (2017-06-16 14:48:27 UTC) #17
aleloi
Thanks for the comments! You spotted that the fixed-mode didn't work. PTAL on next patch ...
3 years, 6 months ago (2017-06-19 11:31:43 UTC) #19
hlundin-webrtc
LGTM with one more comment/question/thought. https://codereview.webrtc.org/2876793002/diff/150001/webrtc/test/fuzzers/audio_processing_fuzzer.cc File webrtc/test/fuzzers/audio_processing_fuzzer.cc (right): https://codereview.webrtc.org/2876793002/diff/150001/webrtc/test/fuzzers/audio_processing_fuzzer.cc#newcode113 webrtc/test/fuzzers/audio_processing_fuzzer.cc:113: RTC_DCHECK_EQ(apm_return_code, AudioProcessing::kNoError); Hmmm. Will ...
3 years, 6 months ago (2017-06-20 09:32:58 UTC) #24
aleloi
https://codereview.webrtc.org/2876793002/diff/150001/webrtc/test/fuzzers/audio_processing_fuzzer.cc File webrtc/test/fuzzers/audio_processing_fuzzer.cc (right): https://codereview.webrtc.org/2876793002/diff/150001/webrtc/test/fuzzers/audio_processing_fuzzer.cc#newcode113 webrtc/test/fuzzers/audio_processing_fuzzer.cc:113: RTC_DCHECK_EQ(apm_return_code, AudioProcessing::kNoError); On 2017/06/20 09:32:58, hlundin-webrtc wrote: > Hmmm. ...
3 years, 6 months ago (2017-06-20 09:46:42 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2876793002/170001
3 years, 6 months ago (2017-06-20 09:46:48 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/18383)
3 years, 6 months ago (2017-06-20 09:51:18 UTC) #30
hlundin-webrtc
On 2017/06/20 09:51:18, commit-bot: I haz the power wrote: > Try jobs failed on following ...
3 years, 6 months ago (2017-06-20 10:58:16 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2876793002/170001
3 years, 6 months ago (2017-06-20 12:24:44 UTC) #33
commit-bot: I haz the power
3 years, 6 months ago (2017-06-20 12:27:01 UTC) #36
Message was sent while issue was closed.
Committed patchset #6 (id:170001) as
https://chromium.googlesource.com/external/webrtc/+/8c51282f7fd7e712628aba167...

Powered by Google App Engine
This is Rietveld 408576698