oprypin 8ad0e589e7 Move UBSan warnings from a blacklist to the source
This is done to make UBSan testing more convenient in integration with projects using WebRTC

Some blacklist entries were obsolete so don't need a replacement

Also fix one of the warnings (thanks, kwiberg@)

BUG=webrtc:8189, webrtc:5486, webrtc:5491

Review-Url: https://codereview.webrtc.org/3009123002
Cr-Commit-Position: refs/heads/master@{#19682}
2017-09-05 10:00:37 +00:00

20 lines
757 B
Plaintext

#############################################################################
# UBSan blacklist.
#
# This is a WebRTC-specific replacement of Chromium's blacklist.txt.
# Only exceptions for third party libraries go here. WebRTC's code should use
# the RTC_NO_SANITIZE macro. Please think twice before adding new exceptions.
#############################################################################
# YASM does some funny things that UBsan doesn't like.
# 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/*