Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(286)

Issue 3009123002: Move UBSan warnings from a blacklist to the source (Closed)

Created:
3 years, 3 months ago by oprypin_webrtc
Modified:
3 years, 3 months ago
CC:
webrtc-reviews_webrtc.org, tlegrand-webrtc, peah-webrtc, bjornv1
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

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} Committed: https://chromium.googlesource.com/external/webrtc/+/8ad0e589e7ec1bbb126d118b551c7bda7a9de278

Patch Set 1 : Remove everything from UBSan blacklist #

Patch Set 2 : Silence UBSan warnings in code #

Patch Set 3 : Fix warning in Random #

Patch Set 4 : Remove test that doesnt check anything useful #

Total comments: 15

Patch Set 5 : Address review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -61 lines) Patch
M tools_webrtc/ubsan/blacklist.txt View 1 2 3 4 2 chunks +4 lines, -23 lines 0 comments Download
M webrtc/common_audio/signal_processing/division_operations.c View 1 3 chunks +4 lines, -1 line 0 comments Download
M webrtc/common_audio/signal_processing/levinson_durbin.c View 1 2 chunks +6 lines, -2 lines 0 comments Download
M webrtc/common_audio/signal_processing/resample_by_2_internal.c View 1 7 chunks +18 lines, -8 lines 0 comments Download
M webrtc/common_audio/signal_processing/signal_processing_unittest.cc View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/modules/audio_coding/codecs/isac/fix/source/filterbanks_unittest.cc View 1 3 chunks +5 lines, -2 lines 0 comments Download
M webrtc/modules/audio_processing/aecm/aecm_core_c.cc View 1 3 chunks +8 lines, -5 lines 0 comments Download
M webrtc/rtc_base/ipaddress_unittest.cc View 1 chunk +1 line, -7 lines 0 comments Download
M webrtc/rtc_base/random.cc View 1 2 3 4 2 chunks +4 lines, -5 lines 0 comments Download
M webrtc/rtc_base/random_unittest.cc View 1 chunk +1 line, -7 lines 0 comments Download
M webrtc/rtc_base/sanitizer.h View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 42 (32 generated)
oprypin_webrtc
3 years, 3 months ago (2017-09-04 21:42:54 UTC) #24
kwiberg-webrtc
Excellent! Much better than the centralized blacklist. If you want to go one step further, ...
3 years, 3 months ago (2017-09-04 23:09:51 UTC) #26
kjellander_webrtc
https://codereview.webrtc.org/3009123002/diff/140001/webrtc/common_audio/signal_processing/signal_processing_unittest.cc File webrtc/common_audio/signal_processing/signal_processing_unittest.cc (left): https://codereview.webrtc.org/3009123002/diff/140001/webrtc/common_audio/signal_processing/signal_processing_unittest.cc#oldcode44 webrtc/common_audio/signal_processing/signal_processing_unittest.cc:44: EXPECT_EQ(-2147483645, WEBRTC_SPL_MUL(a, b)); Is this intentional?
3 years, 3 months ago (2017-09-05 04:56:04 UTC) #27
oprypin_webrtc
https://codereview.webrtc.org/3009123002/diff/140001/tools_webrtc/ubsan/blacklist.txt File tools_webrtc/ubsan/blacklist.txt (right): https://codereview.webrtc.org/3009123002/diff/140001/tools_webrtc/ubsan/blacklist.txt#newcode3 tools_webrtc/ubsan/blacklist.txt:3: # Please think twice before you add or remove ...
3 years, 3 months ago (2017-09-05 07:27:34 UTC) #28
kwiberg-webrtc
lgtm https://codereview.webrtc.org/3009123002/diff/140001/tools_webrtc/ubsan/blacklist.txt File tools_webrtc/ubsan/blacklist.txt (right): https://codereview.webrtc.org/3009123002/diff/140001/tools_webrtc/ubsan/blacklist.txt#newcode3 tools_webrtc/ubsan/blacklist.txt:3: # Please think twice before you add or ...
3 years, 3 months ago (2017-09-05 08:37:31 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/3009123002/160001
3 years, 3 months ago (2017-09-05 08:54:43 UTC) #34
commit-bot: I haz the power
Try jobs failed on following builders: android_rel on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_rel/builds/27519)
3 years, 3 months ago (2017-09-05 09:23:20 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/3009123002/160001
3 years, 3 months ago (2017-09-05 09:51:59 UTC) #38
commit-bot: I haz the power
Committed patchset #5 (id:160001) as https://chromium.googlesource.com/external/webrtc/+/8ad0e589e7ec1bbb126d118b551c7bda7a9de278
3 years, 3 months ago (2017-09-05 10:00:45 UTC) #41
hlundin-webrtc
3 years, 3 months ago (2017-09-05 10:20:20 UTC) #42
Message was sent while issue was closed.
RS LGTM

Powered by Google App Engine
This is Rietveld 408576698