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

Issue 1311003003: Implement ModuleSnapshotWin::UUID (Closed)

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

Description

Implement ModuleSnapshotWin::UUID Reads CodeView PDB GUID from Debug Directory of PE header. R=mark@chromium.org BUG=crashpad:1 Committed: https://chromium.googlesource.com/crashpad/crashpad/+/3ef04d14f2fd75355d3e5b04d40fe8654a892936

Patch Set 1 #

Patch Set 2 : fixes #

Patch Set 3 : rebase #

Patch Set 4 : fix rebase #

Patch Set 5 : rebase #

Patch Set 6 : . #

Total comments: 18

Patch Set 7 : fixes #

Patch Set 8 : . #

Total comments: 6

Patch Set 9 : fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+340 lines, -189 lines) Patch
M compat/non_win/dbghelp.h View 1 2 3 4 5 6 2 chunks +6 lines, -8 lines 0 comments Download
M minidump/minidump_extensions.h View 1 2 3 4 5 6 7 8 2 chunks +1 line, -106 lines 0 comments Download
M minidump/minidump_extensions.cc View 1 2 3 4 5 6 1 chunk +0 lines, -2 lines 0 comments Download
M minidump/minidump_module_writer.h View 1 2 3 4 5 6 2 chunks +9 lines, -14 lines 0 comments Download
M minidump/minidump_module_writer.cc View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M minidump/minidump_module_writer_test.cc View 1 2 3 4 5 6 3 chunks +8 lines, -12 lines 0 comments Download
M minidump/test/minidump_writable_test_util.h View 1 2 3 4 5 6 3 chunks +12 lines, -14 lines 0 comments Download
M minidump/test/minidump_writable_test_util.cc View 1 2 3 4 5 6 1 chunk +10 lines, -12 lines 0 comments Download
M snapshot/snapshot_test.gyp View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M snapshot/win/module_snapshot_win.cc View 1 2 3 4 5 6 1 chunk +5 lines, -1 line 0 comments Download
M snapshot/win/pe_image_reader.h View 1 2 3 4 5 6 7 8 2 chunks +15 lines, -0 lines 0 comments Download
M snapshot/win/pe_image_reader.cc View 1 2 3 4 5 6 7 8 3 chunks +81 lines, -9 lines 0 comments Download
A snapshot/win/pe_image_reader_test.cc View 1 2 3 4 5 6 7 8 1 chunk +54 lines, -0 lines 0 comments Download
A util/misc/pdb_structures.h View 1 2 3 4 5 6 7 8 1 chunk +131 lines, -0 lines 0 comments Download
A + util/misc/pdb_structures.cc View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -9 lines 0 comments Download
M util/util.gyp View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 10 (0 generated)
scottmg
5 years, 3 months ago (2015-08-31 20:40:04 UTC) #1
Mark Mentovai
https://codereview.chromium.org/1311003003/diff/100001/snapshot/win/module_snapshot_win.cc File snapshot/win/module_snapshot_win.cc (right): https://codereview.chromium.org/1311003003/diff/100001/snapshot/win/module_snapshot_win.cc#newcode154 snapshot/win/module_snapshot_win.cc:154: pe_image_reader_->DebugDirectoryInformation(uuid, &age, &pdbname); If this fails, reinitialize uuid to ...
5 years, 3 months ago (2015-08-31 21:48:21 UTC) #2
Mark Mentovai
I see this under patch set 6: Depends on Patchset: Issue 1314093002 Patch 80001 Dependent ...
5 years, 3 months ago (2015-08-31 21:49:22 UTC) #3
scottmg
Thanks. Moved the structure out of minidump to util. I couldn't get it to find ...
5 years, 3 months ago (2015-08-31 23:05:02 UTC) #4
scottmg
On 2015/08/31 21:49:22, Mark Mentovai - August is over wrote: > I see this under ...
5 years, 3 months ago (2015-08-31 23:10:10 UTC) #5
Mark Mentovai
LGTM otherwise. Nice job shifting all of the Doxygen stuff as needed, too. Separately, I ...
5 years, 3 months ago (2015-09-01 01:20:31 UTC) #6
scottmg
Thanks. I'll send a follow up for range checking in pe_image_reader. https://codereview.chromium.org/1311003003/diff/140001/snapshot/win/pe_image_reader.h File snapshot/win/pe_image_reader.h (right): ...
5 years, 3 months ago (2015-09-01 16:29:53 UTC) #7
scottmg
Committed patchset #9 (id:160001) manually as 3ef04d14f2fd75355d3e5b04d40fe8654a892936 (presubmit successful).
5 years, 3 months ago (2015-09-01 16:31:30 UTC) #8
scottmg
On 2015/09/01 01:20:31, Mark Mentovai - August is over wrote: > LGTM otherwise. Nice job ...
5 years, 3 months ago (2015-09-01 16:47:33 UTC) #9
Mark Mentovai
5 years, 3 months ago (2015-09-01 18:52:20 UTC) #10
Message was sent while issue was closed.
Oh, duh, we’ve already been through this before. Yes, this looks really good
with the in-range checks.

Powered by Google App Engine
This is Rietveld 408576698