You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/minidump/streams/MemoryInfoListStream.py
+19-19Lines changed: 19 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -5,9 +5,9 @@
5
5
#
6
6
importio
7
7
importenum
8
-
fromminidump.common_structsimport*
8
+
fromminidump.common_structsimport*
9
9
10
-
classAllocationProtect(enum.Enum):
10
+
classAllocationProtect(enum.Flag):
11
11
NONE=0
12
12
PAGE_EXECUTE=0x10#Enables execute access to the committed region of pages. An attempt to write to the committed region results in an access violation.
13
13
#This flag is not supported by the CreateFileMapping function.
@@ -51,7 +51,7 @@ class AllocationProtect(enum.Enum):
51
51
#The PAGE_WRITECOMBINE flag cannot be specified with the PAGE_NOACCESS, PAGE_GUARD, and PAGE_NOCACHE flags.
52
52
#The PAGE_WRITECOMBINE flag can be used only when allocating private memory with the VirtualAlloc, VirtualAllocEx, or VirtualAllocExNuma functions. To enable write-combined memory access for shared memory, specify the SEC_WRITECOMBINE flag when calling the CreateFileMapping function.
53
53
#Windows Server 2003 and Windows XP: This flag is not supported until Windows Server 2003 with SP1.
54
-
54
+
55
55
classMemoryType(enum.Enum):
56
56
MEM_IMAGE=0x1000000#Indicates that the memory pages within the region are mapped into the view of an image section.
57
57
MEM_MAPPED=0x40000#Indicates that the memory pages within the region are mapped into the view of a section.
0 commit comments