From 0f5dc8b5f33653f5827ceebd5aea9cc53ed5508f Mon Sep 17 00:00:00 2001 From: Henrik Lundin Date: Thu, 5 Jul 2018 15:37:57 +0200 Subject: [PATCH] Limit input size to iSAC and iLBC decoder fuzzers The size limit is set to correspond to approximately 5 seconds of decoded audio at the codecs' normal operating bitrates. This is to avoid timeouts on the bots. NOTRY=true Bug: chromium:840115 Change-Id: I74b3c196259e03981aa2c4ef349e6e1334e9bf58 Reviewed-on: https://webrtc-review.googlesource.com/87302 Reviewed-by: Sam Zackrisson Commit-Queue: Henrik Lundin Cr-Commit-Position: refs/heads/master@{#23857} --- test/fuzzers/BUILD.gn | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test/fuzzers/BUILD.gn b/test/fuzzers/BUILD.gn index 520427553f..d811e05975 100644 --- a/test/fuzzers/BUILD.gn +++ b/test/fuzzers/BUILD.gn @@ -277,6 +277,8 @@ webrtc_fuzzer_test("audio_decoder_ilbc_fuzzer") { ":audio_decoder_fuzzer", "../../modules/audio_coding:ilbc", ] + + libfuzzer_options = [ "max_len=10000" ] } webrtc_fuzzer_test("audio_decoder_isac_fuzzer") { @@ -287,6 +289,8 @@ webrtc_fuzzer_test("audio_decoder_isac_fuzzer") { ":audio_decoder_fuzzer", "../../modules/audio_coding:isac", ] + + libfuzzer_options = [ "max_len=20000" ] } webrtc_fuzzer_test("audio_decoder_isac_incoming_packet_fuzzer") { @@ -297,6 +301,8 @@ webrtc_fuzzer_test("audio_decoder_isac_incoming_packet_fuzzer") { ":audio_decoder_fuzzer", "../../modules/audio_coding:isac", ] + + libfuzzer_options = [ "max_len=20000" ] } webrtc_fuzzer_test("audio_decoder_isacfix_fuzzer") { @@ -307,6 +313,8 @@ webrtc_fuzzer_test("audio_decoder_isacfix_fuzzer") { ":audio_decoder_fuzzer", "../../modules/audio_coding:isac_fix", ] + + libfuzzer_options = [ "max_len=20000" ] } webrtc_fuzzer_test("audio_decoder_opus_fuzzer") {