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

Issue 1140653002: Allow sanitizer coverage to create *.sancov files when sandboxed (Closed)

Created:
5 years, 7 months ago by Reid Kleckner
Modified:
5 years, 7 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, rickyz+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Allow sanitizer coverage to create *.sancov files when sandboxed Due to sandbox restrictions and for the sake of code simplicity, we have to specify the directory in two environment variables: SANITIZER_COVERAGE_DIR=XXX and ASAN_OPTIONS=coverage=1:coverage_dir="XXX" This CL supercedes https://codereview.chromium.org/1113013003/ R=timurrrr@chromium.org,cpu@chromium.org BUG=430156 Committed: https://crrev.com/e172214f4e0769bf82fb678930dd6e55009ff926 Cr-Commit-Position: refs/heads/master@{#329517}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Use WriteInto #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -0 lines) Patch
M content/common/sandbox_win.cc View 1 1 chunk +21 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (2 generated)
Reid Kleckner
5 years, 7 months ago (2015-05-12 00:33:20 UTC) #1
Reid Kleckner
Timur, how can I build and test this configuration? I tried doing this and it ...
5 years, 7 months ago (2015-05-12 00:35:29 UTC) #2
cpu_(ooo_6.6-7.5)
https://codereview.chromium.org/1140653002/diff/1/content/common/sandbox_win.cc File content/common/sandbox_win.cc (right): https://codereview.chromium.org/1140653002/diff/1/content/common/sandbox_win.cc#newcode370 content/common/sandbox_win.cc:370: L"SANITIZER_COVERAGE_DIR", coverage_dir.data(), coverage_dir_size); lgtm, please use base's WriteInto() instead ...
5 years, 7 months ago (2015-05-12 00:53:56 UTC) #3
Reid Kleckner
I still haven't been able to build the code I'm changing because it's under that ...
5 years, 7 months ago (2015-05-12 16:03:07 UTC) #4
Reid Kleckner
Use WriteInto
5 years, 7 months ago (2015-05-12 16:59:48 UTC) #5
Reid Kleckner
Took me a while, but I finally managed to test this manually and verified that ...
5 years, 7 months ago (2015-05-12 21:25:56 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1140653002/20001
5 years, 7 months ago (2015-05-12 21:27:22 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 7 months ago (2015-05-12 22:29:57 UTC) #10
commit-bot: I haz the power
5 years, 7 months ago (2015-05-12 22:31:19 UTC) #11
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/e172214f4e0769bf82fb678930dd6e55009ff926
Cr-Commit-Position: refs/heads/master@{#329517}

Powered by Google App Engine
This is Rietveld 408576698