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 1379873005: win: Write memory map info as MINIDUMP_MEMORY_INFO[_LIST] (Closed)

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

Description

win: Write memory map info as MINIDUMP_MEMORY_INFO[_LIST] Makes !vprot work in windbg, e.g. 0:000> !vprot 0x970000 BaseAddress: 00970000 AllocationBase: 00970000 AllocationProtect: 00000004 PAGE_READWRITE RegionSize: 00001000 State: 00001000 MEM_COMMIT Protect: 00000001 PAGE_NOACCESS Type: 00020000 MEM_PRIVATE ... 0:000> !vprot 0x97a000 BaseAddress: 0097a000 AllocationBase: 00970000 AllocationProtect: 00000004 PAGE_READWRITE RegionSize: 00001000 State: 00001000 MEM_COMMIT Protect: 00000140 PAGE_EXECUTE_READWRITE + PAGE_GUARD Type: 00020000 MEM_PRIVATE Follows https://codereview.chromium.org/1377133006. R=mark@chromium.org BUG=crashpad:20, crashpad:46 Committed: https://chromium.googlesource.com/crashpad/crashpad/+/019a0cec8b8e0fd5f47c564772aa7a7d88921b79

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : rebase #

Patch Set 4 : test classes #

Patch Set 5 : . #

Patch Set 6 : rebase #

Patch Set 7 : . #

Patch Set 8 : !vprot test #

Patch Set 9 : . #

Patch Set 10 : . #

Patch Set 11 : . #

Patch Set 12 : . #

Patch Set 13 : . #

Patch Set 14 : rebase #

Patch Set 15 : rework #

Patch Set 16 : . #

Patch Set 17 : mac #

Patch Set 18 : . #

Patch Set 19 : typo #

Total comments: 17

Patch Set 20 : rebase #

Patch Set 21 : fixes #

Total comments: 4

Patch Set 22 : headers #

Unified diffs Side-by-side diffs Delta from patch set Stats (+459 lines, -22 lines) Patch
M compat/non_win/dbghelp.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 3 chunks +23 lines, -5 lines 0 comments Download
M compat/non_win/winnt.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +35 lines, -0 lines 0 comments Download
M handler/win/crashy_test_program.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +42 lines, -0 lines 0 comments Download
M minidump/minidump.gyp View 1 chunk +2 lines, -0 lines 0 comments Download
M minidump/minidump_extensions.h View 1 chunk +5 lines, -0 lines 0 comments Download
M minidump/minidump_file_writer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +9 lines, -0 lines 0 comments Download
A minidump/minidump_memory_info_writer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +71 lines, -0 lines 0 comments Download
A minidump/minidump_memory_info_writer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +85 lines, -0 lines 0 comments Download
A minidump/minidump_memory_info_writer_test.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +126 lines, -0 lines 0 comments Download
M minidump/minidump_test.gyp View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M minidump/test/minidump_writable_test_util.h View 1 2 3 4 5 6 7 8 3 chunks +10 lines, -4 lines 0 comments Download
M minidump/test/minidump_writable_test_util.cc View 1 2 3 4 5 6 7 8 2 chunks +16 lines, -0 lines 0 comments Download
M snapshot/snapshot_test.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 lines, -0 lines 0 comments Download
A + snapshot/test/test_memory_map_region_snapshot.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +19 lines, -9 lines 0 comments Download
A + snapshot/test/test_memory_map_region_snapshot.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +13 lines, -4 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
scottmg
5 years, 2 months ago (2015-10-02 20:35:51 UTC) #1
scottmg
This is the "other one" that I mentioned. Needs https://codereview.chromium.org/1377133006 first though.
5 years, 2 months ago (2015-10-07 22:33:27 UTC) #2
Mark Mentovai
https://codereview.chromium.org/1379873005/diff/360001/compat/non_win/dbghelp.h File compat/non_win/dbghelp.h (right): https://codereview.chromium.org/1379873005/diff/360001/compat/non_win/dbghelp.h#newcode865 compat/non_win/dbghelp.h:865: //! `MEM_COMMIT`, `MEM_FREE`, or `MEM_RESERVE`. Since we have our ...
5 years, 2 months ago (2015-10-12 14:34:47 UTC) #3
Mark Mentovai
https://codereview.chromium.org/1379873005/diff/360001/compat/non_win/winnt.h File compat/non_win/winnt.h (right): https://codereview.chromium.org/1379873005/diff/360001/compat/non_win/winnt.h#newcode182 compat/non_win/winnt.h:182: //! \anchor PAGE_* Mark Mentovai wrote: > PAGE_x, because ...
5 years, 2 months ago (2015-10-12 14:47:30 UTC) #4
scottmg
Thanks https://codereview.chromium.org/1379873005/diff/360001/compat/non_win/dbghelp.h File compat/non_win/dbghelp.h (right): https://codereview.chromium.org/1379873005/diff/360001/compat/non_win/dbghelp.h#newcode865 compat/non_win/dbghelp.h:865: //! `MEM_COMMIT`, `MEM_FREE`, or `MEM_RESERVE`. On 2015/10/12 14:34:46, ...
5 years, 2 months ago (2015-10-13 19:51:29 UTC) #5
Mark Mentovai
LGTM https://codereview.chromium.org/1379873005/diff/400001/minidump/minidump_memory_info_writer.h File minidump/minidump_memory_info_writer.h (right): https://codereview.chromium.org/1379873005/diff/400001/minidump/minidump_memory_info_writer.h#newcode25 minidump/minidump_memory_info_writer.h:25: #include "base/memory/scoped_ptr.h" Unused https://codereview.chromium.org/1379873005/diff/400001/minidump/minidump_memory_info_writer.h#newcode28 minidump/minidump_memory_info_writer.h:28: #include "util/stdlib/pointer_container.h" Unused.
5 years, 2 months ago (2015-10-13 20:09:29 UTC) #6
scottmg
https://codereview.chromium.org/1379873005/diff/400001/minidump/minidump_memory_info_writer.h File minidump/minidump_memory_info_writer.h (right): https://codereview.chromium.org/1379873005/diff/400001/minidump/minidump_memory_info_writer.h#newcode25 minidump/minidump_memory_info_writer.h:25: #include "base/memory/scoped_ptr.h" On 2015/10/13 20:09:29, Mark Mentovai wrote: > ...
5 years, 2 months ago (2015-10-13 20:15:32 UTC) #7
scottmg
5 years, 2 months ago (2015-10-13 20:15:49 UTC) #8
Message was sent while issue was closed.
Committed patchset #22 (id:420001) manually as
019a0cec8b8e0fd5f47c564772aa7a7d88921b79 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698