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 hashes)
Built Distribution
memobj-0.5.0-py3-none-any.whl
(11.9 kB
view hashes)