ntmemoryapi 2.2.0__tar.gz → 2.2.1__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-2.2.0 → ntmemoryapi-2.2.1}/PKG-INFO +1 -1
- {ntmemoryapi-2.2.0 → ntmemoryapi-2.2.1}/pyproject.toml +1 -1
- {ntmemoryapi-2.2.0 → ntmemoryapi-2.2.1}/src/ntmemoryapi/__init__.py +1 -1
- {ntmemoryapi-2.2.0 → ntmemoryapi-2.2.1}/README.md +0 -0
- {ntmemoryapi-2.2.0 → ntmemoryapi-2.2.1}/src/ntmemoryapi/embed.py +0 -0
- {ntmemoryapi-2.2.0 → ntmemoryapi-2.2.1}/src/ntmemoryapi/errors.py +0 -0
- {ntmemoryapi-2.2.0 → ntmemoryapi-2.2.1}/src/ntmemoryapi/misc.py +0 -0
|
@@ -542,7 +542,7 @@ class Process:
|
|
|
542
542
|
found_addresses = []
|
|
543
543
|
|
|
544
544
|
# Pre-allocated buffer to hold read memory
|
|
545
|
-
read_memory_buffer = (ctypes.c_byte * max(item[-1] for item in to_scan_regions) + 1)()
|
|
545
|
+
read_memory_buffer = (ctypes.c_byte * (max(item[-1] for item in to_scan_regions) + 1))()
|
|
546
546
|
|
|
547
547
|
# Iterate regions to scan read them and find pattern
|
|
548
548
|
for scan_adderss, scan_size in to_scan_regions:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|