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

Unified Diff: compat/non_win/winnt.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: headers 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 | « compat/non_win/dbghelp.h ('k') | handler/win/crashy_test_program.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compat/non_win/winnt.h
diff --git a/compat/non_win/winnt.h b/compat/non_win/winnt.h
index d61504c09c7d9e231df14facaf4c5a79f09dc74a..03167aa52b166190f04acd9bbc238d031ab18dad 100644
--- a/compat/non_win/winnt.h
+++ b/compat/non_win/winnt.h
@@ -179,4 +179,39 @@ struct IMAGE_DEBUG_MISC {
#define VER_PLATFORM_WIN32_NT 2
//! \}
+//! \anchor PAGE_x
+//! \name PAGE_*
+//!
+//! \brief Memory protection constants for MINIDUMP_MEMORY_INFO::Protect and
+//! MINIDUMP_MEMORY_INFO::AllocationProtect.
+//! \{
+#define PAGE_NOACCESS 0x1
+#define PAGE_READONLY 0x2
+#define PAGE_READWRITE 0x4
+#define PAGE_WRITECOPY 0x8
+#define PAGE_EXECUTE 0x10
+#define PAGE_EXECUTE_READ 0x20
+#define PAGE_EXECUTE_READWRITE 0x40
+#define PAGE_EXECUTE_WRITECOPY 0x80
+#define PAGE_GUARD 0x100
+#define PAGE_NOCACHE 0x200
+#define PAGE_WRITECOMBINE 0x400
+//! \}
+
+//! \anchor MEM_x
+//! \name MEM_*
+//!
+//! \brief Memory state and type constants for MINIDUMP_MEMORY_INFO::State and
+//! MINIDUMP_MEMORY_INFO::Type.
+//! \{
+#define MEM_COMMIT 0x1000
+#define MEM_RESERVE 0x2000
+#define MEM_DECOMMIT 0x4000
+#define MEM_RELEASE 0x8000
+#define MEM_FREE 0x10000
+#define MEM_PRIVATE 0x20000
+#define MEM_MAPPED 0x40000
+#define MEM_RESET 0x80000
+//! \}
+
#endif // CRASHPAD_COMPAT_NON_WIN_WINNT_H_
« no previous file with comments | « compat/non_win/dbghelp.h ('k') | handler/win/crashy_test_program.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698