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

Issue 972383002: snapshot: Add a minimal ModuleSnapshotMinidump and accessor from ProcessSnapshotMinidump (Closed)

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

Description

snapshot: Add a minimal ModuleSnapshotMinidump and accessor from ProcessSnapshotMinidump. ModuleSnapshotMinidump is currently only capable of reading module annotations, in both vector and simple-dictionary forms. It does not read any other module information from minidump files. These annotations are all that are necessary to be able to upload Crashpad-produced minidumps to Breakpad crash processor servers, because Breakpad accepts them as HTTP POST parameters, while Crashpad places them in the minidump file itself. TEST=snapshot_test ProcessSnapshotMinidump.Modules BUG=crashpad:10 R=rsesek@chromium.org Committed: https://chromium.googlesource.com/crashpad/crashpad/+/445c0eae7ca33491a1d3ba98339bd44035dfb49c

Patch Set 1 #

Total comments: 17

Patch Set 2 : Address review feedback (1/2) #

Patch Set 3 : Address review feedback (2/2) #

Patch Set 4 : Add NOTREACHED() comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+665 lines, -119 lines) Patch
M snapshot/mac/module_snapshot_mac.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M snapshot/mac/process_snapshot_mac.cc View 1 2 chunks +6 lines, -8 lines 0 comments Download
M snapshot/minidump/minidump_simple_string_dictionary_reader.h View 1 2 1 chunk +1 line, -3 lines 0 comments Download
M snapshot/minidump/minidump_simple_string_dictionary_reader.cc View 1 2 2 chunks +5 lines, -6 lines 0 comments Download
A + snapshot/minidump/minidump_string_list_reader.h View 1 2 1 chunk +12 lines, -10 lines 0 comments Download
A snapshot/minidump/minidump_string_list_reader.cc View 1 2 1 chunk +72 lines, -0 lines 0 comments Download
A + snapshot/minidump/module_snapshot_minidump.h View 1 2 4 chunks +34 lines, -25 lines 0 comments Download
A snapshot/minidump/module_snapshot_minidump.cc View 1 2 3 1 chunk +174 lines, -0 lines 0 comments Download
M snapshot/minidump/process_snapshot_minidump.h View 1 2 2 chunks +15 lines, -1 line 0 comments Download
M snapshot/minidump/process_snapshot_minidump.cc View 1 2 3 5 chunks +152 lines, -23 lines 0 comments Download
M snapshot/minidump/process_snapshot_minidump_test.cc View 1 3 chunks +188 lines, -43 lines 0 comments Download
M snapshot/snapshot.gyp View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (2 generated)
Mark Mentovai
This depends on https://codereview.chromium.org/978463003/.
5 years, 9 months ago (2015-03-03 22:44:25 UTC) #2
Robert Sesek
Feel free to ignore the "indent +4" comments, but I think we liked that for ...
5 years, 9 months ago (2015-03-04 01:52:26 UTC) #3
Mark Mentovai
Updated. Thanks for the review! https://codereview.chromium.org/972383002/diff/1/snapshot/minidump/module_snapshot_minidump.cc File snapshot/minidump/module_snapshot_minidump.cc (right): https://codereview.chromium.org/972383002/diff/1/snapshot/minidump/module_snapshot_minidump.cc#newcode59 snapshot/minidump/module_snapshot_minidump.cc:59: NOTREACHED(); Robert Sesek wrote: ...
5 years, 9 months ago (2015-03-04 16:24:24 UTC) #5
Robert Sesek
https://codereview.chromium.org/972383002/diff/1/snapshot/minidump/module_snapshot_minidump.cc File snapshot/minidump/module_snapshot_minidump.cc (right): https://codereview.chromium.org/972383002/diff/1/snapshot/minidump/module_snapshot_minidump.cc#newcode59 snapshot/minidump/module_snapshot_minidump.cc:59: NOTREACHED(); On 2015/03/04 16:24:24, Mark Mentovai wrote: > Robert ...
5 years, 9 months ago (2015-03-04 17:06:25 UTC) #6
Mark Mentovai
https://codereview.chromium.org/972383002/diff/1/snapshot/minidump/module_snapshot_minidump.cc File snapshot/minidump/module_snapshot_minidump.cc (right): https://codereview.chromium.org/972383002/diff/1/snapshot/minidump/module_snapshot_minidump.cc#newcode59 snapshot/minidump/module_snapshot_minidump.cc:59: NOTREACHED(); Robert Sesek wrote: > On 2015/03/04 16:24:24, Mark ...
5 years, 9 months ago (2015-03-04 17:10:21 UTC) #7
Robert Sesek
https://codereview.chromium.org/972383002/diff/1/snapshot/minidump/module_snapshot_minidump.cc File snapshot/minidump/module_snapshot_minidump.cc (right): https://codereview.chromium.org/972383002/diff/1/snapshot/minidump/module_snapshot_minidump.cc#newcode59 snapshot/minidump/module_snapshot_minidump.cc:59: NOTREACHED(); On 2015/03/04 17:10:21, Mark Mentovai wrote: > Robert ...
5 years, 9 months ago (2015-03-04 17:14:00 UTC) #8
Mark Mentovai
Filed a bug and pointed to it via comments on the NOTREACHED()s.
5 years, 9 months ago (2015-03-04 17:24:58 UTC) #9
Robert Sesek
LGTM
5 years, 9 months ago (2015-03-04 17:26:38 UTC) #10
Mark Mentovai
5 years, 9 months ago (2015-03-04 17:29:03 UTC) #11
Message was sent while issue was closed.
Committed patchset #4 (id:80001) manually as
445c0eae7ca33491a1d3ba98339bd44035dfb49c (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698