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

Issue 1992773002: [SyzyAsan] Enable Crashpad reporter as a 50/50 experiment. (Closed)

Created:
4 years, 7 months ago by chrisha
Modified:
4 years, 6 months ago
CC:
syzygy-changes_googlegroups.com
Base URL:
https://github.com/google/syzygy.git@master
Target Ref:
refs/heads/master
Project:
syzygy
Visibility:
Public.

Description

[SyzyAsan] Enable Crashpad reporter as a 50/50 experiment. BUG= Committed: https://github.com/google/syzygy/commit/858cdc69baa55a673fcad7ff294c864891d89128

Patch Set 1 #

Total comments: 3

Patch Set 2 : Cleanup + unittests. #

Total comments: 12

Patch Set 3 : Rework reporter creation logic. #

Patch Set 4 : More comments. #

Total comments: 5

Patch Set 5 : More comments. #

Total comments: 6

Patch Set 6 : Address siggi's comments. #

Patch Set 7 : Fix broken unittest. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+107 lines, -52 lines) Patch
M DEPS View 1 1 chunk +1 line, -1 line 0 comments Download
M syzygy/agent/asan/error_info.h View 1 chunk +4 lines, -2 lines 0 comments Download
M syzygy/agent/asan/reporters/crashpad_reporter.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M syzygy/agent/asan/reporters/crashpad_reporter.cc View 1 2 3 4 3 chunks +7 lines, -3 lines 0 comments Download
M syzygy/agent/asan/rtl_unittest.cc View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M syzygy/agent/asan/runtime.h View 1 1 chunk +1 line, -1 line 0 comments Download
M syzygy/agent/asan/runtime.cc View 1 2 3 4 5 6 chunks +78 lines, -29 lines 0 comments Download
M syzygy/agent/asan/runtime_unittest.cc View 1 2 chunks +10 lines, -15 lines 0 comments Download
M syzygy/agent/asan/syzyasan_rtl.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 30 (9 generated)
chrisha
PTAL?
4 years, 7 months ago (2016-05-18 14:03:07 UTC) #2
Sébastien Marchand
You also need to update the unittests: https://github.com/google/syzygy/blob/master/syzygy/agent/asan/runtime_unittest.cc#L251
4 years, 7 months ago (2016-05-18 14:16:17 UTC) #4
Sigurður Ásgeirsson
https://codereview.chromium.org/1992773002/diff/1/syzygy/agent/asan/runtime.cc File syzygy/agent/asan/runtime.cc (right): https://codereview.chromium.org/1992773002/diff/1/syzygy/agent/asan/runtime.cc#newcode515 syzygy/agent/asan/runtime.cc:515: GenerateRandomFeatureSet(); uh??
4 years, 7 months ago (2016-05-18 14:24:51 UTC) #5
Sigurður Ásgeirsson
https://codereview.chromium.org/1992773002/diff/1/syzygy/agent/asan/runtime.cc File syzygy/agent/asan/runtime.cc (right): https://codereview.chromium.org/1992773002/diff/1/syzygy/agent/asan/runtime.cc#newcode515 syzygy/agent/asan/runtime.cc:515: GenerateRandomFeatureSet(); On 2016/05/18 14:24:51, Sigurður Ásgeirsson wrote: > uh?? ...
4 years, 7 months ago (2016-05-18 14:26:16 UTC) #6
chrisha
https://codereview.chromium.org/1992773002/diff/1/syzygy/agent/asan/runtime.cc File syzygy/agent/asan/runtime.cc (right): https://codereview.chromium.org/1992773002/diff/1/syzygy/agent/asan/runtime.cc#newcode515 syzygy/agent/asan/runtime.cc:515: GenerateRandomFeatureSet(); On 2016/05/18 14:26:16, Sigurður Ásgeirsson wrote: > On ...
4 years, 7 months ago (2016-05-18 14:32:57 UTC) #7
chrisha
Okay, now with a little more cleanup and unittest integration. I won't be landing this ...
4 years, 7 months ago (2016-05-19 17:58:23 UTC) #8
Sigurður Ásgeirsson
https://codereview.chromium.org/1992773002/diff/20001/syzygy/agent/asan/error_info.h File syzygy/agent/asan/error_info.h (right): https://codereview.chromium.org/1992773002/diff/20001/syzygy/agent/asan/error_info.h#newcode87 syzygy/agent/asan/error_info.h:87: ASAN_FEATURE_ENABLE_PAGE_PROTECTIONS = (1 << 0), is it time to ...
4 years, 7 months ago (2016-05-19 20:25:58 UTC) #9
chrisha
https://codereview.chromium.org/1992773002/diff/20001/syzygy/agent/asan/runtime.cc File syzygy/agent/asan/runtime.cc (right): https://codereview.chromium.org/1992773002/diff/20001/syzygy/agent/asan/runtime.cc#newcode502 syzygy/agent/asan/runtime.cc:502: PropagateFeatureSet(feature_set); On 2016/05/19 20:25:58, Sigurður Ásgeirsson wrote: > I ...
4 years, 7 months ago (2016-05-19 20:31:32 UTC) #10
Sigurður Ásgeirsson
https://codereview.chromium.org/1992773002/diff/20001/syzygy/agent/asan/runtime.cc File syzygy/agent/asan/runtime.cc (right): https://codereview.chromium.org/1992773002/diff/20001/syzygy/agent/asan/runtime.cc#newcode502 syzygy/agent/asan/runtime.cc:502: PropagateFeatureSet(feature_set); On 2016/05/19 20:31:31, chrisha (slow) wrote: > On ...
4 years, 7 months ago (2016-05-20 14:00:17 UTC) #11
chrisha
Another look? https://codereview.chromium.org/1992773002/diff/20001/syzygy/agent/asan/runtime.cc File syzygy/agent/asan/runtime.cc (right): https://codereview.chromium.org/1992773002/diff/20001/syzygy/agent/asan/runtime.cc#newcode392 syzygy/agent/asan/runtime.cc:392: std::unique_ptr<ReporterInterface> CreateCrashReporterFromEnvironment( On 2016/05/19 20:25:58, Sigurður Ásgeirsson ...
4 years, 6 months ago (2016-05-31 20:45:15 UTC) #12
chrisha
(Also, confirmed that the Crashpad inflated-crash-dumps fix has landed in Chrome, and it now generates ...
4 years, 6 months ago (2016-05-31 20:45:45 UTC) #13
Sébastien Marchand
https://codereview.chromium.org/1992773002/diff/60001/syzygy/agent/asan/runtime.cc File syzygy/agent/asan/runtime.cc (right): https://codereview.chromium.org/1992773002/diff/60001/syzygy/agent/asan/runtime.cc#newcode515 syzygy/agent/asan/runtime.cc:515: CrashReporterType crash_reporter_type = We also have a 'disable_breakpad_reporting ' ...
4 years, 6 months ago (2016-06-01 16:38:55 UTC) #15
chrisha
https://codereview.chromium.org/1992773002/diff/60001/syzygy/agent/asan/runtime.cc File syzygy/agent/asan/runtime.cc (right): https://codereview.chromium.org/1992773002/diff/60001/syzygy/agent/asan/runtime.cc#newcode515 syzygy/agent/asan/runtime.cc:515: CrashReporterType crash_reporter_type = On 2016/06/01 16:38:55, Sébastien Marchand wrote: ...
4 years, 6 months ago (2016-06-02 17:45:30 UTC) #16
Sébastien Marchand
lgtm https://codereview.chromium.org/1992773002/diff/60001/syzygy/agent/asan/reporters/crashpad_reporter.cc File syzygy/agent/asan/reporters/crashpad_reporter.cc (right): https://codereview.chromium.org/1992773002/diff/60001/syzygy/agent/asan/reporters/crashpad_reporter.cc#newcode173 syzygy/agent/asan/reporters/crashpad_reporter.cc:173: // a maximum of 1MB. What's the actual ...
4 years, 6 months ago (2016-06-02 19:54:18 UTC) #17
chrisha
Thanks. Any other comments Siggi? Otherwise I'll commit this soon. https://codereview.chromium.org/1992773002/diff/60001/syzygy/agent/asan/reporters/crashpad_reporter.cc File syzygy/agent/asan/reporters/crashpad_reporter.cc (right): https://codereview.chromium.org/1992773002/diff/60001/syzygy/agent/asan/reporters/crashpad_reporter.cc#newcode173 ...
4 years, 6 months ago (2016-06-02 20:20:18 UTC) #18
Sigurður Ásgeirsson
lgtm with a nit https://codereview.chromium.org/1992773002/diff/80001/syzygy/agent/asan/runtime.cc File syzygy/agent/asan/runtime.cc (right): https://codereview.chromium.org/1992773002/diff/80001/syzygy/agent/asan/runtime.cc#newcode433 syzygy/agent/asan/runtime.cc:433: std::unique_ptr<ReporterInterface> CreateCrashReporter( CreateCrashReporterWithTypeHint or TypePreference? ...
4 years, 6 months ago (2016-06-02 20:26:48 UTC) #19
chrisha
Thanks, committing! https://codereview.chromium.org/1992773002/diff/80001/syzygy/agent/asan/runtime.cc File syzygy/agent/asan/runtime.cc (right): https://codereview.chromium.org/1992773002/diff/80001/syzygy/agent/asan/runtime.cc#newcode433 syzygy/agent/asan/runtime.cc:433: std::unique_ptr<ReporterInterface> CreateCrashReporter( On 2016/06/02 20:26:48, Sigurður Ásgeirsson ...
4 years, 6 months ago (2016-06-02 20:59:33 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1992773002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1992773002/100001
4 years, 6 months ago (2016-06-02 20:59:47 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: win_rel_try on master.tryserver.client.syzygy (JOB_FAILED, https://build.chromium.org/p/tryserver.client.syzygy/builders/win_rel_try/builds/439)
4 years, 6 months ago (2016-06-02 21:35:47 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1992773002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1992773002/120001
4 years, 6 months ago (2016-06-02 21:45:55 UTC) #28
commit-bot: I haz the power
4 years, 6 months ago (2016-06-02 22:18:50 UTC) #30
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://github.com/google/syzygy/commit/858cdc69baa55a673fcad7ff294c864891d89128

Powered by Google App Engine
This is Rietveld 408576698