ntmemoryapi 1.6.2__tar.gz → 1.6.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {ntmemoryapi-1.6.2 → ntmemoryapi-1.6.3}/PKG-INFO +1 -1
- {ntmemoryapi-1.6.2 → ntmemoryapi-1.6.3}/pyproject.toml +1 -1
- {ntmemoryapi-1.6.2 → ntmemoryapi-1.6.3}/src/ntmemoryapi/__init__.py +1 -1
- {ntmemoryapi-1.6.2 → ntmemoryapi-1.6.3}/README.md +0 -0
- {ntmemoryapi-1.6.2 → ntmemoryapi-1.6.3}/src/ntmemoryapi/embed.py +0 -0
- {ntmemoryapi-1.6.2 → ntmemoryapi-1.6.3}/src/ntmemoryapi/misc.py +0 -0
|
@@ -448,7 +448,7 @@ class Process:
|
|
|
448
448
|
|
|
449
449
|
return wow64_info.value is None
|
|
450
450
|
|
|
451
|
-
def allocate_memory(self, address: int = 0, size: int = 4096, memory_type: int = MEM_COMMIT, memory_protect: int = PAGE_READWRITE) -> tuple[int, int]:
|
|
451
|
+
def allocate_memory(self, address: int = 0, size: int = 4096, memory_type: int = MEM_COMMIT | MEM_RESERVE, memory_protect: int = PAGE_READWRITE) -> tuple[int, int]:
|
|
452
452
|
"""Allocate process memory."""
|
|
453
453
|
|
|
454
454
|
# Prepare arguments
|
|
File without changes
|
|
File without changes
|
|
File without changes
|