#############################################################################
# UBSan ignorelist.
#
# This is a WebRTC-specific replacement of Chromium's ignorelist.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.

#############################################################################
# OpenH264 triggers some errors that are out of our control.
src:*/third_party/ffmpeg/libavcodec/*
src:*/third_party/openh264/*

# TODO(bugs.webrtc.org/11110).
# Remove those once upstream code has been cleaned.
src:*/third_party/abseil-cpp/absl/debugging/*
src:*/third_party/libvpx/source/libvpx/vp8/*

#############################################################################
# Ignore system libraries.
src:*/usr/*

#############################################################################
[alignment]
# Libaom and libsrtp are doing unaligned memory access.
src:*/third_party/libaom/source/libaom/*
src:*/third_party/libsrtp/srtp/srtp.c
