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

Unified Diff: compat/non_win/dbghelp.h

Issue 1379873005: win: Write memory map info as MINIDUMP_MEMORY_INFO[_LIST] (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@save-peb-more-2
Patch Set: typo 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 | « no previous file | compat/non_win/winnt.h » ('j') | compat/non_win/winnt.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compat/non_win/dbghelp.h
diff --git a/compat/non_win/dbghelp.h b/compat/non_win/dbghelp.h
index 89b8e105cd009f1c42ce2aafdbf9f5bade60cf6e..8d1935c10dea8b731df66a7655c5bd3653210eb7 100644
--- a/compat/non_win/dbghelp.h
+++ b/compat/non_win/dbghelp.h
@@ -167,6 +167,9 @@ enum MINIDUMP_STREAM_TYPE {
//! MINIDUMP_MISC_INFO::Flags1, that indicates which data is present and
//! valid.
MiscInfoStream = 15,
+
+ //! \brief The stream type for MINIDUMP_MEMORY_INFO_LIST.
+ MemoryInfoListStream = 16,
};
//! \brief Information about the CPU (or CPUs) that ran the process that the
@@ -874,6 +877,21 @@ struct __attribute__((packed, aligned(4))) MINIDUMP_MEMORY_INFO {
uint32_t __alignment2;
};
+//! \brief Contains a list of memory regions.
+struct __attribute__((packed, aligned(4))) MINIDUMP_MEMORY_INFO_LIST {
+ //! \brief The size of the header data for the stream, in bytes. This is
+ //! generally sizeof(MINIDUMP_MEMORY_INFO_LIST).
+ uint32_t SizeOfHeader;
+
+ //! \brief The size of each entry following the header, in bytes. This is
+ //! generally sizeof(MINIDUMP_MEMORY_INFO).
+ uint32_t SizeOfEntry;
+
+ //! \brief The number of entries in the stream. These are generally
+ //! MINIDUMP_MEMORY_INFO structures. The entries follow the header.
+ uint64_t NumberOfEntries;
+};
+
//! \brief Minidump file type values for MINIDUMP_HEADER::Flags. These bits
//! describe the types of data carried within a minidump file.
enum MINIDUMP_TYPE {
« no previous file with comments | « no previous file | compat/non_win/winnt.h » ('j') | compat/non_win/winnt.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698