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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: ntmemoryapi
3
- Version: 1.6.2
3
+ Version: 1.6.3
4
4
  Summary: Simple library for Windows to manipulate process virtual memory with stelthy syscall wraps
5
5
  Author: Xenely
6
6
  Requires-Dist: psutil>=7.1.3
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "ntmemoryapi"
3
- version = "1.6.2"
3
+ version = "1.6.3"
4
4
  description = "Simple library for Windows to manipulate process virtual memory with stelthy syscall wraps"
5
5
  authors = [
6
6
  {name = "Xenely"}
@@ -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