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

Issue 2028383006: Add GN configs for -fsanitizer=null. (Closed)

Created:
4 years, 6 months ago by krasin
Modified:
4 years, 6 months ago
Reviewers:
Dirk Pranke, Nico
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add GN configs for -fsanitizer=null. This allows to sanitize null pointer accesses and could increase readability of the messages from UBSan Vptr bot (once enabled there). BUG=616268, 616870 Committed: https://crrev.com/2ec1834c98f0fd1caf86983f31d0d1a122e0ad1e Cr-Commit-Position: refs/heads/master@{#397538}

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -5 lines) Patch
M build/config/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
M build/config/sanitizers/BUILD.gn View 3 chunks +10 lines, -0 lines 1 comment Download
M build/config/sanitizers/sanitizers.gni View 3 chunks +7 lines, -4 lines 0 comments Download
M build/toolchain/gcc_toolchain.gni View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 22 (7 generated)
krasin
4 years, 6 months ago (2016-06-02 20:23:21 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2028383006/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2028383006/1
4 years, 6 months ago (2016-06-02 20:26:35 UTC) #5
Dirk Pranke
Do we really need to keep adding new flags for every ubsan variant? Why don't ...
4 years, 6 months ago (2016-06-02 20:54:43 UTC) #6
krasin
On 2016/06/02 20:54:43, Dirk Pranke wrote: > Do we really need to keep adding new ...
4 years, 6 months ago (2016-06-02 20:55:51 UTC) #7
krasin
And yes, I considered bundling them. In the longer term, it seems to be a ...
4 years, 6 months ago (2016-06-02 20:56:32 UTC) #8
Nico
Is there a lot of value in having this toggle? What about 1. fix, 2. ...
4 years, 6 months ago (2016-06-02 20:57:48 UTC) #9
krasin
On 2016/06/02 20:57:48, Nico wrote: > Is there a lot of value in having this ...
4 years, 6 months ago (2016-06-02 21:03:03 UTC) #10
krasin
The second part is important for the cleanup, as some of the cases will require ...
4 years, 6 months ago (2016-06-02 21:04:26 UTC) #11
Nico
https://codereview.chromium.org/2028383006/diff/1/build/config/sanitizers/BUILD.gn File build/config/sanitizers/BUILD.gn (right): https://codereview.chromium.org/2028383006/diff/1/build/config/sanitizers/BUILD.gn#newcode128 build/config/sanitizers/BUILD.gn:128: ldflags += [ "-fsanitize=undefined" ] but is having to ...
4 years, 6 months ago (2016-06-02 21:06:09 UTC) #12
Dirk Pranke
On 2016/06/02 21:04:26, krasin wrote: > The second part is important for the cleanup, as ...
4 years, 6 months ago (2016-06-02 21:06:34 UTC) #13
krasin
On 2016/06/02 21:06:09, Nico wrote: > https://codereview.chromium.org/2028383006/diff/1/build/config/sanitizers/BUILD.gn > File build/config/sanitizers/BUILD.gn (right): > > https://codereview.chromium.org/2028383006/diff/1/build/config/sanitizers/BUILD.gn#newcode128 > ...
4 years, 6 months ago (2016-06-02 21:10:36 UTC) #14
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-02 23:01:12 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2028383006/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2028383006/1
4 years, 6 months ago (2016-06-02 23:03:02 UTC) #18
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 6 months ago (2016-06-02 23:11:02 UTC) #20
commit-bot: I haz the power
4 years, 6 months ago (2016-06-02 23:13:33 UTC) #22
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/2ec1834c98f0fd1caf86983f31d0d1a122e0ad1e
Cr-Commit-Position: refs/heads/master@{#397538}

Powered by Google App Engine
This is Rietveld 408576698