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

Issue 2504773002: Have crashpad call ASan's crash handler if present (Closed)

Created:
4 years, 1 month ago by Reid Kleckner
Modified:
4 years ago
CC:
chromium-reviews, pennymac+watch_chromium.org, caitkp+watch_chromium.org, Mark Mentovai, inferno
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Have crashpad call ASan's crash handler if present This ensures that ClusterFuzz will see an ASan report for null dereferences. We can also remove chrome_elf's ifdefs after this change, since we don't need ASan's call to SetUnhandledExceptionFilter to succeed. R=mark@chromium.org TBR=pennymac@chromium.org BUG=661209 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.win:win10_chromium_x64_rel_ng Committed: https://crrev.com/c9175dab5210cb05151ee27dc3e9bd54439650e2 Cr-Commit-Position: refs/heads/master@{#435147}

Patch Set 1 #

Total comments: 3

Patch Set 2 : rebase #

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -5 lines) Patch
M chrome_elf/chrome_elf_main.cc View 1 2 1 chunk +0 lines, -4 lines 0 comments Download
M third_party/crashpad/README.chromium View 1 chunk +1 line, -1 line 0 comments Download
M third_party/crashpad/crashpad/client/crashpad_client_win.cc View 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 53 (25 generated)
Reid Kleckner
4 years, 1 month ago (2016-11-15 22:16:46 UTC) #1
scottmg
This change will also need to be made to upstream Crashpad. https://codereview.chromium.org/2504773002/diff/1/third_party/crashpad/crashpad/client/crashpad_client_win.cc File third_party/crashpad/crashpad/client/crashpad_client_win.cc (right): ...
4 years, 1 month ago (2016-11-15 22:28:02 UTC) #3
Mark Mentovai
What does ASAN’s UEF do? Does it need to be ordered before Crashpad’s handling?
4 years, 1 month ago (2016-11-15 22:46:04 UTC) #4
Mark Mentovai
https://codereview.chromium.org/2504773002/diff/1/third_party/crashpad/crashpad/client/crashpad_client_win.cc File third_party/crashpad/crashpad/client/crashpad_client_win.cc (right): https://codereview.chromium.org/2504773002/diff/1/third_party/crashpad/crashpad/client/crashpad_client_win.cc#newcode112 third_party/crashpad/crashpad/client/crashpad_client_win.cc:112: __asan_unhandled_exception_filter(EXCEPTION_POINTERS* info); No reason to have wrapped this. I’d ...
4 years, 1 month ago (2016-11-15 22:47:49 UTC) #5
Reid Kleckner
On 2016/11/15 22:46:04, Mark Mentovai wrote: > What does ASAN’s UEF do? Does it need ...
4 years, 1 month ago (2016-11-15 22:54:35 UTC) #6
Reid Kleckner
https://codereview.chromium.org/2504773002/diff/1/third_party/crashpad/crashpad/client/crashpad_client_win.cc File third_party/crashpad/crashpad/client/crashpad_client_win.cc (right): https://codereview.chromium.org/2504773002/diff/1/third_party/crashpad/crashpad/client/crashpad_client_win.cc#newcode110 third_party/crashpad/crashpad/client/crashpad_client_win.cc:110: #if defined(ADDRESS_SANITIZER) On 2016/11/15 22:28:02, scottmg wrote: > Can ...
4 years, 1 month ago (2016-11-15 23:02:32 UTC) #7
Mark Mentovai
Tests wouldn’t be the primary problem, but you’re basically talking about defeating Crashpad for any ...
4 years, 1 month ago (2016-11-15 23:03:11 UTC) #8
Reid Kleckner
On 2016/11/15 23:03:11, Mark Mentovai wrote: > Tests wouldn’t be the primary problem, but you’re ...
4 years, 1 month ago (2016-11-16 01:51:15 UTC) #9
inferno
On 2016/11/16 01:51:15, Reid Kleckner wrote: > On 2016/11/15 23:03:11, Mark Mentovai wrote: > > ...
4 years ago (2016-11-20 16:11:16 UTC) #10
Mark Mentovai
LGTM. I thought that we were already periodically shipping ASan canaries to users. We’ll obviously ...
4 years ago (2016-11-20 18:42:04 UTC) #13
inferno
On 2016/11/20 18:42:04, Mark Mentovai wrote: > LGTM. I thought that we were already periodically ...
4 years ago (2016-11-21 19:24:46 UTC) #14
Reid Kleckner
On 2016/11/21 19:24:46, inferno wrote: > On 2016/11/20 18:42:04, Mark Mentovai wrote: > > LGTM. ...
4 years ago (2016-11-21 19:49:31 UTC) #17
Reid Kleckner
rebase
4 years ago (2016-11-22 20:47:55 UTC) #20
inferno
On 2016/11/22 20:47:55, Reid Kleckner wrote: > rebase Looks like clang rolled to 287685. if ...
4 years ago (2016-11-24 01:56:03 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2504773002/20001
4 years ago (2016-11-28 16:43:13 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/313567)
4 years ago (2016-11-28 16:49:51 UTC) #27
Reid Kleckner
It needs an owner for chrome_elf. Can I get a stamp from Penny or Robert? ...
4 years ago (2016-11-28 17:07:43 UTC) #30
inferno
4 years ago (2016-11-29 17:57:09 UTC) #32
Reid Kleckner
Adding Penny as TBR for chrome_elf. I'm removing some ifdefs, so I'm assuming that's good.
4 years ago (2016-11-29 18:30:17 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2504773002/20001
4 years ago (2016-11-29 18:30:57 UTC) #36
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/314160) mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, ...
4 years ago (2016-11-29 18:34:14 UTC) #38
Reid Kleckner
rebase
4 years ago (2016-11-30 01:23:48 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2504773002/40001
4 years ago (2016-11-30 01:25:11 UTC) #42
robertshield
Belated LGTM, sorry for the delay.
4 years ago (2016-11-30 03:25:50 UTC) #44
commit-bot: I haz the power
Try jobs failed on following builders: blimp_linux_dbg on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) cast_shell_linux on ...
4 years ago (2016-11-30 03:26:42 UTC) #46
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2504773002/40001
4 years ago (2016-11-30 03:28:23 UTC) #48
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-11-30 07:58:02 UTC) #51
commit-bot: I haz the power
4 years ago (2016-11-30 08:02:23 UTC) #53
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/c9175dab5210cb05151ee27dc3e9bd54439650e2
Cr-Commit-Position: refs/heads/master@{#435147}

Powered by Google App Engine
This is Rietveld 408576698