UBSan: Suppress openh264 and NetEq errors.

As part of the work enabling OpenH264 in
WebRTC it was discovered that some of its code triggers
an UBSan errors:
third_party/openh264/src/codec/common/inc/golomb_common.h:103:3: runtime error: shift exponent 32 is too large for 32-bit type 'uint32_t' (aka 'unsigned int')
third_party/ffmpeg/libavcodec/h264_cavlc.c:585:54: runtime error: index -1 out of bounds for type 'VLC [15]'
Suppress such errors since this source code is out of our control.

This CL also includes a new NetEq suppression.

BUG=webrtc:5889
TBR=hbos@webrtc.org

Review URL: https://codereview.webrtc.org/1975863002 .

Cr-Commit-Position: refs/heads/master@{#12706}
This commit is contained in:
Henrik Kjellander 2016-05-12 18:24:28 +02:00
parent 020eb85075
commit 27178676cf

View File

@ -10,6 +10,10 @@
# https://crbug.com/489901
src:*/third_party/yasm/*
# OpenH264 triggers some errors that are out of our control.
src:*/third_party/ffmpeg/libavcodec/*
src:*/third_party/openh264/*
#############################################################################
# Ignore system libraries.
src:*/usr/*
@ -33,3 +37,8 @@ fun:*WebRtcSpl_AddSatW32*
fun:*WebRtcSpl_SubSatW32*
fun:*WebRtcSpl_DivW32HiLow*
fun:*GmmProbability*
#############################################################################
# Ignore errors in peerconnection_unittests.
# https://bugs.chromium.org/p/webrtc/issues/detail?id=5889
src:*/webrtc/modules/audio_coding/neteq/delay_manager.cc