A library for defining objects in memory
Project description
memobj
A library for defining objects in memory
installing
pip install memobj
example
import os
from memobj import WindowsProcess, MemoryObject
from memobj.property import Signed4
class PythonIntObject(MemoryObject):
# note: this offset might be different in future python versions
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/wcftyYm6qe
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.14.1.tar.gz
(18.8 kB
view details)
Built Distribution
memobj-0.14.1-py3-none-any.whl
(25.0 kB
view details)
File details
Details for the file memobj-0.14.1.tar.gz
.
File metadata
- Download URL: memobj-0.14.1.tar.gz
- Upload date:
- Size: 18.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.13.3 Windows/11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
55d8dc4b2acad07a2be1f0098003cf472d20895a7ce658b3821a2802e6f1747c
|
|
MD5 |
3a76200e02b81f55ec30279f4e8220e2
|
|
BLAKE2b-256 |
9575423f66ae850aa90ac79d1df2cd5174645fb58dcfd0219c6a2eab45600dd7
|
File details
Details for the file memobj-0.14.1-py3-none-any.whl
.
File metadata
- Download URL: memobj-0.14.1-py3-none-any.whl
- Upload date:
- Size: 25.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.13.3 Windows/11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
9590214da64a8669c6a269c57d8da7754d13876e43d9cb166076608f1ee270fa
|
|
MD5 |
7dc86f98be55ecd4177518c658bed2a0
|
|
BLAKE2b-256 |
2ba4706815c7b3fac074992757589429dd30942bdbff058a4cea0943bf7cf4a7
|