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

Issue 10860006: Breakpad support for ASan: take 2. (Closed)

Created:
8 years, 4 months ago by Alexander Potapenko
Modified:
8 years, 3 months ago
Reviewers:
Lei Zhang
CC:
chromium-reviews
Visibility:
Public.

Description

Breakpad support for ASan: take 2. This is an updated version of https://chromiumcodereview.appspot.com/10703116/ which got reverted. When the code is built with ASan, Chrome should register a callback which notifies the browser about a memory error. The error report message is passed to the crash handler and is then sent to the crash server along with the minidump. BUG=143657 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=152989

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Total comments: 11

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+152 lines, -22 lines) Patch
M chrome/app/breakpad_linux.h View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/app/breakpad_linux.cc View 1 2 3 14 chunks +99 lines, -21 lines 0 comments Download
M chrome/browser/crash_handler_host_linux.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/crash_handler_host_linux.cc View 1 2 7 chunks +41 lines, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
Alexander Potapenko
Lei, can you take a look again, please?
8 years, 4 months ago (2012-08-17 14:11:21 UTC) #1
Lei Zhang
I'm having a bit of trouble playing "spot the difference" between this CL and the ...
8 years, 4 months ago (2012-08-21 07:57:11 UTC) #2
Lei Zhang
http://codereview.chromium.org/10860006/diff/1/chrome/app/breakpad_linux.cc File chrome/app/breakpad_linux.cc (right): http://codereview.chromium.org/10860006/diff/1/chrome/app/breakpad_linux.cc#newcode85 chrome/app/breakpad_linux.cc:85: static const char kUploadURL[] = no need for static ...
8 years, 4 months ago (2012-08-21 08:05:12 UTC) #3
Alexander Potapenko
On 2012/08/21 07:57:11, Lei Zhang wrote: > I'm having a bit of trouble playing "spot ...
8 years, 4 months ago (2012-08-21 08:07:31 UTC) #4
Alexander Potapenko
Fixed the comments. http://codereview.chromium.org/10860006/diff/1/chrome/app/breakpad_linux.cc File chrome/app/breakpad_linux.cc (right): http://codereview.chromium.org/10860006/diff/1/chrome/app/breakpad_linux.cc#newcode85 chrome/app/breakpad_linux.cc:85: static const char kUploadURL[] = On ...
8 years, 4 months ago (2012-08-21 13:37:45 UTC) #5
Lei Zhang
http://codereview.chromium.org/10860006/diff/10001/chrome/app/breakpad_linux.cc File chrome/app/breakpad_linux.cc (right): http://codereview.chromium.org/10860006/diff/10001/chrome/app/breakpad_linux.cc#newcode438 chrome/app/breakpad_linux.cc:438: g_asan_report_str = const_cast<char*>(report); nit: Can we make |g_asan_report_str| const ...
8 years, 4 months ago (2012-08-21 18:35:17 UTC) #6
Alexander Potapenko
Fixed the comments http://codereview.chromium.org/10860006/diff/10001/chrome/app/breakpad_linux.cc File chrome/app/breakpad_linux.cc (right): http://codereview.chromium.org/10860006/diff/10001/chrome/app/breakpad_linux.cc#newcode438 chrome/app/breakpad_linux.cc:438: g_asan_report_str = const_cast<char*>(report); On 2012/08/21 18:35:17, ...
8 years, 4 months ago (2012-08-22 12:15:07 UTC) #7
Lei Zhang
lgtm http://codereview.chromium.org/10860006/diff/10001/chrome/app/breakpad_linux.cc File chrome/app/breakpad_linux.cc (right): http://codereview.chromium.org/10860006/diff/10001/chrome/app/breakpad_linux.cc#newcode438 chrome/app/breakpad_linux.cc:438: g_asan_report_str = const_cast<char*>(report); On 2012/08/22 12:15:08, Alexander Potapenko ...
8 years, 4 months ago (2012-08-22 18:41:55 UTC) #8
Alexander Potapenko
8 years, 4 months ago (2012-08-23 11:26:00 UTC) #9
http://codereview.chromium.org/10860006/diff/13001/chrome/app/breakpad_linux.cc
File chrome/app/breakpad_linux.cc (right):

http://codereview.chromium.org/10860006/diff/13001/chrome/app/breakpad_linux....
chrome/app/breakpad_linux.cc:440: g_breakpad->SimulateSignalDelivery(SIGKILL);
On 2012/08/22 18:41:56, Lei Zhang wrote:
> #include <signal.h> ?

Done.

Powered by Google App Engine
This is Rietveld 408576698