Commit Graph

5 Commits

Author SHA1 Message Date
806706875d iSAC entropy coder: Avoid signed integer overflow
By doing an unsigned instead of a signed addition, we get the exact
same machine code (in non-UBSan builds), but no longer trigger
undefined behavior since unsigned overflow is defined behavior.

BUG=webrtc:5485

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

Cr-Commit-Position: refs/heads/master@{#11776}
2016-02-26 10:52:14 +00:00
1cfe94096c Added the agc digital_agc.c file to the ubsan blacklist
in order to suppress UBSan errors from the AGC.

BUG=webrtc:5124, webrtc:5487

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

Cr-Commit-Position: refs/heads/master@{#11730}
2016-02-24 07:06:56 +00:00
452df1cb44 Suppress UBSan errors in common_audio
BUG=webrtc:5486,webrtc:5512
NOTRY=true

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

Cr-Commit-Position: refs/heads/master@{#11671}
2016-02-18 15:41:21 +00:00
abedbbd09a Suppress UBSan errors from iSAC
BUG=webrtc:5513
NOTRY=true

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

Cr-Commit-Position: refs/heads/master@{#11549}
2016-02-10 13:01:44 +00:00
f1dcd46a9b UBSan: Add blacklist files for WebRTC standalone.
For more info, see
http://dev.chromium.org/developers/testing/undefinedbehaviorsanitizer

BUG=webrtc:5124
TESTED=Passing compilation using:
GYP_DEFINES="ubsan=1" webrtc/build/gyp_webrtc && ninja -C out/Release
GYP_DEFINES="ubsan_vptr=1" webrtc/build/gyp_webrtc && ninja -C out/Release
R=pbos@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#10429}
2015-10-27 14:31:58 +00:00