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

Issue 1375313005: Use MEMORY_BASIC_INFORMATION64 rather than a custom MemoryInfo (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

Use MEMORY_BASIC_INFORMATION64 rather than a custom MemoryInfo We already use all the shared constants for page protection and type, so rather than making various incompatible structures, just use the MEMORY_BASIC_INFORMATION64 one directly, so that it can be directly used. R=mark@chromium.org BUG=crashpad:20, crashpad:46 Committed: https://chromium.googlesource.com/crashpad/crashpad/+/d3bdb23ffe0f930b82452c74c8d129786c044f6c

Patch Set 1 : . #

Patch Set 2 : . #

Total comments: 2

Patch Set 3 : . #

Total comments: 6

Patch Set 4 : . #

Total comments: 2

Patch Set 5 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+110 lines, -148 lines) Patch
M util/win/process_info.h View 1 2 4 chunks +3 lines, -37 lines 0 comments Download
M util/win/process_info.cc View 1 2 3 4 7 chunks +40 lines, -35 lines 0 comments Download
M util/win/process_info_test.cc View 1 2 3 15 chunks +67 lines, -76 lines 0 comments Download

Messages

Total messages: 19 (8 generated)
scottmg
Simple move out of win/ in service of https://codereview.chromium.org/1377133006/. I'm not sure this is the ...
5 years, 2 months ago (2015-10-01 23:07:11 UTC) #1
scottmg
On 2015/10/01 23:07:11, scottmg wrote: > Simple move out of win/ in service of > ...
5 years, 2 months ago (2015-10-02 00:04:18 UTC) #9
Mark Mentovai
Before we start heading down any of these paths, I want to have a better ...
5 years, 2 months ago (2015-10-05 15:46:06 UTC) #10
scottmg
On 2015/10/05 15:46:06, Mark Mentovai wrote: > Before we start heading down any of these ...
5 years, 2 months ago (2015-10-05 17:48:52 UTC) #11
Mark Mentovai
scottmg wrote: > I hadn't really thought about other platforms too much. I'm not sure ...
5 years, 2 months ago (2015-10-06 20:57:14 UTC) #12
scottmg
OK, I'm not sure about other platforms yet, and just looking at the snapshot now, ...
5 years, 2 months ago (2015-10-06 22:43:26 UTC) #13
Mark Mentovai
LGTM https://codereview.chromium.org/1375313005/diff/160001/util/win/process_info.cc File util/win/process_info.cc (right): https://codereview.chromium.org/1375313005/diff/160001/util/win/process_info.cc#newcode449 util/win/process_info.cc:449: if (range.OverlapsRange(Range(mi.BaseAddress, mi.RegionSize))) Since these types are now ...
5 years, 2 months ago (2015-10-07 01:17:24 UTC) #14
scottmg
Thanks https://codereview.chromium.org/1375313005/diff/160001/util/win/process_info.cc File util/win/process_info.cc (right): https://codereview.chromium.org/1375313005/diff/160001/util/win/process_info.cc#newcode449 util/win/process_info.cc:449: if (range.OverlapsRange(Range(mi.BaseAddress, mi.RegionSize))) On 2015/10/07 01:17:24, Mark Mentovai ...
5 years, 2 months ago (2015-10-07 18:19:17 UTC) #16
Mark Mentovai
LGTM https://codereview.chromium.org/1375313005/diff/160001/util/win/process_info_test.cc File util/win/process_info_test.cc (right): https://codereview.chromium.org/1375313005/diff/160001/util/win/process_info_test.cc#newcode113 util/win/process_info_test.cc:113: GetTimestampForLoadedLibrary(GetModuleHandle(nullptr))); scottmg wrote: > On 2015/10/07 01:17:24, Mark ...
5 years, 2 months ago (2015-10-07 18:50:52 UTC) #17
scottmg
https://codereview.chromium.org/1375313005/diff/160001/util/win/process_info_test.cc File util/win/process_info_test.cc (right): https://codereview.chromium.org/1375313005/diff/160001/util/win/process_info_test.cc#newcode113 util/win/process_info_test.cc:113: GetTimestampForLoadedLibrary(GetModuleHandle(nullptr))); On 2015/10/07 18:50:52, Mark Mentovai wrote: > scottmg ...
5 years, 2 months ago (2015-10-07 19:22:31 UTC) #18
scottmg
5 years, 2 months ago (2015-10-07 19:23:17 UTC) #19
Message was sent while issue was closed.
Committed patchset #5 (id:220001) manually as
d3bdb23ffe0f930b82452c74c8d129786c044f6c (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698