Skip to main content

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/7hBStdXkyR

Project details


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.13.0.tar.gz (16.2 kB view details)

Uploaded Source

Built Distribution

memobj-0.13.0-py3-none-any.whl (21.3 kB view details)

Uploaded Python 3

File details

Details for the file memobj-0.13.0.tar.gz.

File metadata

  • Download URL: memobj-0.13.0.tar.gz
  • Upload date:
  • Size: 16.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.13.0rc2 Windows/11

File hashes

Hashes for memobj-0.13.0.tar.gz
Algorithm Hash digest
SHA256 36520f9e2bba35af2cf3660ce98e637e37c63881231b9560863ba475fe7eb2db
MD5 98838e400288a0320b0d69f4278fd70d
BLAKE2b-256 80b606a9493578b549e49422a3bb029e68cd3b21b5693e46f4fce7d8725a2070

See more details on using hashes here.

File details

Details for the file memobj-0.13.0-py3-none-any.whl.

File metadata

  • Download URL: memobj-0.13.0-py3-none-any.whl
  • Upload date:
  • Size: 21.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.13.0rc2 Windows/11

File hashes

Hashes for memobj-0.13.0-py3-none-any.whl
Algorithm Hash digest
SHA256 170d1223cf7f598c6bd4f2d1cfabf77876891575f100ea41e294665a5286eb24
MD5 c1c944a4add271aec2bf132a00af98da
BLAKE2b-256 d8fce137af6276a569edaf87d7ea03c60f2258a1bf8f7adfda58a1b5815b409c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page