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

Issue 1499093002: Create fuzzer tests for audio decoders (Closed)

Created:
5 years ago by hlundin-webrtc
Modified:
5 years ago
CC:
webrtc-reviews_webrtc.org, yujie_mao (webrtc), Andrew MacDonald, tterriberry_mozilla.com, qiang.lu, niklas.enbom, peah-webrtc, kwiberg-webrtc, tlegrand-webrtc
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Create fuzzer tests for audio decoders This change adds fuzzer tests for iLBC, iSAC fix and float, and Opus. The fuzzer function takes a random input vector and splits it into a number of payloads. The lengths of the payloads is also determined by the random vector. The payloads are decoded with the decoders. BUG=webrtc:5306 R=kjellander@webrtc.org, pbos@webrtc.org Committed: https://crrev.com/fe32a76d6001d17c34ab597026fd1e16e5c3b9ea Cr-Commit-Position: refs/heads/master@{#10932}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Taking care of review comments and adding a function comment #

Total comments: 2

Patch Set 3 : Remove comment #

Total comments: 5

Patch Set 4 : Add a public_configs element to webrtc_fuzzer_main #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+168 lines, -19 lines) Patch
M webrtc/BUILD.gn View 1 1 chunk +4 lines, -0 lines 0 comments Download
M webrtc/test/fuzzers/BUILD.gn View 1 2 3 2 chunks +51 lines, -0 lines 1 comment Download
A webrtc/test/fuzzers/audio_decoder_fuzzer.h View 1 chunk +31 lines, -0 lines 0 comments Download
A webrtc/test/fuzzers/audio_decoder_fuzzer.cc View 1 1 chunk +49 lines, -0 lines 0 comments Download
A + webrtc/test/fuzzers/audio_decoder_ilbc_fuzzer.cc View 2 1 chunk +8 lines, -4 lines 0 comments Download
A + webrtc/test/fuzzers/audio_decoder_isac_fuzzer.cc View 1 chunk +8 lines, -6 lines 0 comments Download
A + webrtc/test/fuzzers/audio_decoder_isacfix_fuzzer.cc View 1 chunk +8 lines, -6 lines 0 comments Download
A + webrtc/test/fuzzers/audio_decoder_opus_fuzzer.cc View 1 chunk +9 lines, -3 lines 0 comments Download

Messages

Total messages: 23 (5 generated)
hlundin-webrtc
pbos, please, take a look.
5 years ago (2015-12-04 09:34:31 UTC) #2
pbos-webrtc
https://codereview.webrtc.org/1499093002/diff/1/webrtc/BUILD.gn File webrtc/BUILD.gn (right): https://codereview.webrtc.org/1499093002/diff/1/webrtc/BUILD.gn#newcode270 webrtc/BUILD.gn:270: "modules/rtp_rtcp", Is this related? https://codereview.webrtc.org/1499093002/diff/1/webrtc/BUILD.gn#newcode288 webrtc/BUILD.gn:288: # iLBC fuzzer ...
5 years ago (2015-12-04 14:27:25 UTC) #4
hlundin-webrtc
Taking care of review comments and adding a function comment
5 years ago (2015-12-04 14:56:55 UTC) #5
hlundin-webrtc
Thanks. PTAL again. https://codereview.webrtc.org/1499093002/diff/1/webrtc/BUILD.gn File webrtc/BUILD.gn (right): https://codereview.webrtc.org/1499093002/diff/1/webrtc/BUILD.gn#newcode270 webrtc/BUILD.gn:270: "modules/rtp_rtcp", On 2015/12/04 14:27:25, pbos-webrtc wrote: ...
5 years ago (2015-12-04 14:58:06 UTC) #6
pbos-webrtc
lgtm, pref that you remove the comment in the ilbc fuzzer https://codereview.webrtc.org/1499093002/diff/20001/webrtc/test/fuzzers/audio_decoder_ilbc_fuzzer.cc File webrtc/test/fuzzers/audio_decoder_ilbc_fuzzer.cc (right): ...
5 years ago (2015-12-04 15:17:25 UTC) #7
hlundin-webrtc
Remove comment
5 years ago (2015-12-04 15:21:16 UTC) #8
hlundin-webrtc
thanks https://codereview.webrtc.org/1499093002/diff/20001/webrtc/test/fuzzers/audio_decoder_ilbc_fuzzer.cc File webrtc/test/fuzzers/audio_decoder_ilbc_fuzzer.cc (right): https://codereview.webrtc.org/1499093002/diff/20001/webrtc/test/fuzzers/audio_decoder_ilbc_fuzzer.cc#newcode14 webrtc/test/fuzzers/audio_decoder_ilbc_fuzzer.cc:14: // iLBC fuzzer is known to cause failures. ...
5 years ago (2015-12-04 15:22:07 UTC) #9
hlundin-webrtc
+kjellander to review webrtc/BUILD.gn.
5 years ago (2015-12-07 07:53:33 UTC) #11
kjellander_webrtc
https://codereview.webrtc.org/1499093002/diff/40001/webrtc/test/fuzzers/BUILD.gn File webrtc/test/fuzzers/BUILD.gn (right): https://codereview.webrtc.org/1499093002/diff/40001/webrtc/test/fuzzers/BUILD.gn#newcode64 webrtc/test/fuzzers/BUILD.gn:64: # Suppress warnings from Chrome's Clang plugins. Do you ...
5 years ago (2015-12-07 08:05:22 UTC) #12
pbos-webrtc
https://codereview.webrtc.org/1499093002/diff/40001/webrtc/test/fuzzers/BUILD.gn File webrtc/test/fuzzers/BUILD.gn (right): https://codereview.webrtc.org/1499093002/diff/40001/webrtc/test/fuzzers/BUILD.gn#newcode64 webrtc/test/fuzzers/BUILD.gn:64: # Suppress warnings from Chrome's Clang plugins. On 2015/12/07 ...
5 years ago (2015-12-07 08:07:08 UTC) #13
hlundin-webrtc
https://codereview.webrtc.org/1499093002/diff/40001/webrtc/test/fuzzers/BUILD.gn File webrtc/test/fuzzers/BUILD.gn (right): https://codereview.webrtc.org/1499093002/diff/40001/webrtc/test/fuzzers/BUILD.gn#newcode64 webrtc/test/fuzzers/BUILD.gn:64: # Suppress warnings from Chrome's Clang plugins. On 2015/12/07 ...
5 years ago (2015-12-07 08:14:48 UTC) #14
kjellander_webrtc
lgtm https://codereview.webrtc.org/1499093002/diff/40001/webrtc/test/fuzzers/BUILD.gn File webrtc/test/fuzzers/BUILD.gn (right): https://codereview.webrtc.org/1499093002/diff/40001/webrtc/test/fuzzers/BUILD.gn#newcode64 webrtc/test/fuzzers/BUILD.gn:64: # Suppress warnings from Chrome's Clang plugins. On ...
5 years ago (2015-12-07 08:21:43 UTC) #15
hlundin-webrtc
Add a public_configs element to webrtc_fuzzer_main
5 years ago (2015-12-08 09:46:26 UTC) #16
hlundin-webrtc
https://codereview.webrtc.org/1499093002/diff/40001/webrtc/test/fuzzers/BUILD.gn File webrtc/test/fuzzers/BUILD.gn (right): https://codereview.webrtc.org/1499093002/diff/40001/webrtc/test/fuzzers/BUILD.gn#newcode64 webrtc/test/fuzzers/BUILD.gn:64: # Suppress warnings from Chrome's Clang plugins. On 2015/12/07 ...
5 years ago (2015-12-08 09:49:17 UTC) #17
kjellander_webrtc
On 2015/12/08 09:49:17, hlundin-webrtc wrote: > https://codereview.webrtc.org/1499093002/diff/40001/webrtc/test/fuzzers/BUILD.gn > File webrtc/test/fuzzers/BUILD.gn (right): > > https://codereview.webrtc.org/1499093002/diff/40001/webrtc/test/fuzzers/BUILD.gn#newcode64 > ...
5 years ago (2015-12-08 09:51:02 UTC) #18
pbos-webrtc
lgtm assuming this builds on both checkouts :)
5 years ago (2015-12-08 10:24:11 UTC) #19
hlundin-webrtc
Committed patchset #4 (id:60001) manually as fe32a76d6001d17c34ab597026fd1e16e5c3b9ea (presubmit successful).
5 years ago (2015-12-08 10:27:40 UTC) #21
commit-bot: I haz the power
5 years ago (2015-12-08 10:27:43 UTC) #23
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/fe32a76d6001d17c34ab597026fd1e16e5c3b9ea
Cr-Commit-Position: refs/heads/master@{#10932}

Powered by Google App Engine
This is Rietveld 408576698