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

Unified Diff: util/win/process_info.h

Issue 1412243005: win: Validate readability of memory ranges added to minidump (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: . Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « snapshot/win/thread_snapshot_win.cc ('k') | util/win/process_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: util/win/process_info.h
diff --git a/util/win/process_info.h b/util/win/process_info.h
index 41b92598c7a59c5728f7ce032ef5d61361544973..f8ed4ae4110404c9d3718a535296b6a28d0370eb 100644
--- a/util/win/process_info.h
+++ b/util/win/process_info.h
@@ -139,6 +139,16 @@ class ProcessInfo {
std::vector<CheckedRange<WinVMAddress, WinVMSize>> GetReadableRanges(
const CheckedRange<WinVMAddress, WinVMSize>& range) const;
+ //! \brief Given a range in the target process, determines if the entire range
+ //! is readable.
+ //!
+ //! \param[in] range The range being inspected.
+ //!
+ //! \return `true` if the range is fully readable, otherwise `false` with a
+ //! message logged.
+ bool LoggingRangeIsFullyReadable(
+ const CheckedRange<WinVMAddress, WinVMSize>& range) const;
+
//! \brief Retrieves information about open handles in the target process.
const std::vector<Handle>& Handles() const;
« no previous file with comments | « snapshot/win/thread_snapshot_win.cc ('k') | util/win/process_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698