Index: snapshot/process_snapshot.h |
diff --git a/snapshot/process_snapshot.h b/snapshot/process_snapshot.h |
index f2fceef271fc5cdaac3cf5f0c498afc161b172ee..36c101cfaffed775389395a2d9be31667fb37f7b 100644 |
--- a/snapshot/process_snapshot.h |
+++ b/snapshot/process_snapshot.h |
@@ -27,6 +27,7 @@ |
namespace crashpad { |
class ExceptionSnapshot; |
+class MemoryMapSnapshot; |
class MemorySnapshot; |
class ModuleSnapshot; |
class SystemSnapshot; |
@@ -162,6 +163,14 @@ class ProcessSnapshot { |
//! an exception, returns `nullptr`. |
virtual const ExceptionSnapshot* Exception() const = 0; |
+ //! \brief Returns a MemoryMapSnapshot object reflecting the memory map of the |
+ //! snapshot process at the time of the snapshot. |
+ //! |
+ //! \return A MemoryMapSnapshot object. The caller does not take ownership of |
+ //! this object, it is scoped to the lifetime of the ProcessSnapshot |
+ //! object that it was obtained from. |
+ virtual const MemoryMapSnapshot* MemoryMap() const = 0; |
+ |
//! \brief Returns a vector of additional memory blocks that should be |
//! included in a minidump. |
//! |