Index: snapshot/process_snapshot.h |
diff --git a/snapshot/process_snapshot.h b/snapshot/process_snapshot.h |
index 42df05c9b21cf8d6c39ac7197a0fd117264f6bd5..9c5d3face4e038c6d396e8fd53968695060ed764 100644 |
--- a/snapshot/process_snapshot.h |
+++ b/snapshot/process_snapshot.h |
@@ -27,6 +27,7 @@ |
namespace crashpad { |
class ExceptionSnapshot; |
+class MemorySnapshot; |
class ModuleSnapshot; |
class SystemSnapshot; |
class ThreadSnapshot; |
@@ -135,6 +136,14 @@ class ProcessSnapshot { |
//! object that it was obtained from. |
virtual const SystemSnapshot* System() const = 0; |
+ //! \brief Returns a MemorySnapshot consisting of the Process Environment |
+ //! Block of the process. |
+ //! |
Mark Mentovai
2015/09/23 21:40:50
Say that this is only a sensible thing on Windows.
scottmg
2015/09/24 20:00:10
Gone.
|
+ //! \return A MemorySnapshot object. The caller does not take ownership of |
+ //! this object, is is scoped to the lifetime of the ProcessSnapshot |
+ //! object that it was obtained from. |
+ virtual const MemorySnapshot* Peb() const = 0; |
+ |
//! \brief Returns ModuleSnapshot objects reflecting the code modules (binary |
//! images) loaded into the snapshot process at the time of the snapshot. |
//! |