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

Issue 1416873016: Break crashpad_handler into lib and exe for Windows (Closed)

Created:
5 years, 1 month ago by scottmg
Modified:
5 years, 1 month ago
Reviewers:
Mark Mentovai
CC:
crashpad-dev_chromium.org
Base URL:
https://chromium.googlesource.com/crashpad/crashpad@integrity
Target Ref:
refs/heads/master
Project:
crashpad
Visibility:
Public.

Description

Break crashpad_handler into lib and exe for Windows I've heard/lived enough horror stories about AV, outbound-blocking firewalls, etc. on Windows, that I think the best approach is to have chrome.exe embed the majority of crashpad_handler and jump to it as early as possible when running in that mode. So, move most of crashpad_handler into a static_library with just main() in the executable target. R=mark@chromium.org BUG=chromium:546288, crashpad:27 Committed: https://chromium.googlesource.com/crashpad/crashpad/+/20869d94682cb72b3e4544b47cc27059aa0af3ad

Patch Set 1 #

Patch Set 2 : nofindcopies #

Total comments: 6

Patch Set 3 : fixes #

Total comments: 2

Patch Set 4 : comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+382 lines, -314 lines) Patch
M handler/handler.gyp View 1 2 2 chunks +21 lines, -3 lines 0 comments Download
A handler/handler_main.h View 1 2 3 1 chunk +28 lines, -0 lines 0 comments Download
A handler/handler_main.cc View 1 2 1 chunk +331 lines, -0 lines 0 comments Download
M handler/main.cc View 1 2 2 chunks +2 lines, -311 lines 0 comments Download

Messages

Total messages: 10 (1 generated)
scottmg
5 years, 1 month ago (2015-11-05 23:58:27 UTC) #1
scottmg
(The Chrome side is here for reference https://codereview.chromium.org/1416133003/ .)
5 years, 1 month ago (2015-11-06 01:14:30 UTC) #2
Mark Mentovai
LGTM with this change. You can add BUG=crashpad:27 because this sort of addresses a little ...
5 years, 1 month ago (2015-11-06 15:12:43 UTC) #3
scottmg
On 2015/11/06 15:12:43, Mark Mentovai wrote: > LGTM with this change. > > You can ...
5 years, 1 month ago (2015-11-06 18:22:23 UTC) #5
scottmg
https://codereview.chromium.org/1416873016/diff/20001/handler/entry_point.cc File handler/entry_point.cc (right): https://codereview.chromium.org/1416873016/diff/20001/handler/entry_point.cc#newcode1 handler/entry_point.cc:1: // Copyright 2015 The Crashpad Authors. All rights reserved. ...
5 years, 1 month ago (2015-11-06 18:27:18 UTC) #6
Mark Mentovai
LGTM The opposite of --no-find-copies would have been good for #3, but I don’t need ...
5 years, 1 month ago (2015-11-06 18:42:13 UTC) #7
scottmg
On 2015/11/06 18:42:13, Mark Mentovai wrote: > LGTM > > The opposite of --no-find-copies would ...
5 years, 1 month ago (2015-11-06 18:49:44 UTC) #8
scottmg
https://codereview.chromium.org/1416873016/diff/40001/handler/handler_main.h File handler/handler_main.h (right): https://codereview.chromium.org/1416873016/diff/40001/handler/handler_main.h#newcode23 handler/handler_main.h:23: //! binary, but called and used as if it ...
5 years, 1 month ago (2015-11-06 18:49:48 UTC) #9
scottmg
5 years, 1 month ago (2015-11-06 18:52:15 UTC) #10
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
20869d94682cb72b3e4544b47cc27059aa0af3ad (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698