A library for defining objects in memory
Project description
memobj
A library for defining objects in memory
installing
python 3.11+ only!
pip install memobj
usage
import os
from memobj import WindowsProcess, MemoryObject
from memobj.property import Signed4
class PythonIntObject(MemoryObject):
value: int = Signed4(24)
process = WindowsProcess.from_id(os.getpid())
# id(x) gives the address of the object in cpython
my_int = PythonIntObject(address=id(1), process=process)
# prints 1
print(my_int.value)
support
discord https://discord.gg/7hBStdXkyR
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
memobj-0.5.0.tar.gz
(9.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
memobj-0.5.0-py3-none-any.whl
(11.9 kB
view details)
File details
Details for the file memobj-0.5.0.tar.gz.
File metadata
- Download URL: memobj-0.5.0.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.1 CPython/3.11.0rc2 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
940fe2363abeeb74a0c0529787e5ac560c8ed5365145965b76817cc5f11919b7
|
|
| MD5 |
51a2ea036685660919aa5f29a4c6a310
|
|
| BLAKE2b-256 |
03d9b332856f82e9f6360116827c3612d948440c8beae42a8b23e464dc1ffed8
|
File details
Details for the file memobj-0.5.0-py3-none-any.whl.
File metadata
- Download URL: memobj-0.5.0-py3-none-any.whl
- Upload date:
- Size: 11.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.1 CPython/3.11.0rc2 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
87822d25723aa11e9afde74aac6c3153913a913cc1b705475631dfda1ab43501
|
|
| MD5 |
c57ac5e5b36742fd7e45342bf82cea94
|
|
| BLAKE2b-256 |
0d851651480a302d983516741ee198e67d2a34c10957b6adedd42c9fd1b624ab
|