mirror of
https://github.com/chromium/crashpad.git
synced 2025-01-17 04:50:27 +08:00
Scott Graham
9d9302bb02
win: fix VirtualQueryEx on < win10
On Win10, VirtualQueryEx supports querying the x64 part of WOW64 processes. However, on lower OSs it errors past 2/3G. There's no direct way to retrieve to maximum memory address for processes other than yourself, but fortunately, VirtualQueryEx sets a distinct error code when `lpAddress` exceeds the maximum accessible address, so we can just terminate successfully in that case. R=mark@chromium.org BUG=crashpad:20, crashpad:46 Review URL: https://codereview.chromium.org/1376353002 .
Description
Languages
C++
92.6%
Objective-C++
2.5%
C
2%
Python
1.7%
Assembly
0.9%
Other
0.3%