Skip to main content

libmem-logo

discord-server

Usage (C/C++)

Include libmem/libmem.h (C/C++) or libmem/libmem.hpp (C++) in your project.
Compile libmem/libmem.c along with your project.

Usage (Python)

Make sure to have Python >= 3.6 active
Either install the libmem package from PyPi by running the following command:

pip install --upgrade libmem

Or build and install it yourself by running the following commands:

cd ./libmem-py
python configure.py
python setup.py install

Now to import libmem, just do the following in your Python code:

from libmem import *

Dependencies

Windows:

  • Windows SDK (-luser32, -lpsapi)

Linux/Android:

  • libdl (-ldl)

BSD:

  • libdl (-ldl)
  • libkvm (-lkvm)
  • libprocstat (-lprocstat)
  • libelf (-lelf)

License

Read LICENSE

Overview

LM_EnumProcesses
LM_GetProcessId
LM_GetProcessIdEx
LM_GetParentId
LM_GetParentIdEx
LM_OpenProcess
LM_OpenProcessEx
LM_CloseProcess
LM_GetProcessPath
LM_GetProcessPathEx
LM_GetProcessName
LM_GetProcessNameEx
LM_GetSystemBits
LM_GetProcessBits
LM_GetProcessBitsEx

LM_EnumThreads
LM_EnumThreadsEx
LM_GetThreadId
LM_GetThreadIdEx

LM_EnumModules
LM_EnumModulesEx
LM_GetModule
LM_GetModuleEx
LM_GetModulePath
LM_GetModulePathEx
LM_GetModuleName
LM_GetModuleNameEx
LM_LoadModule
LM_LoadModuleEx
LM_UnloadModule
LM_UnloadModuleEx

LM_EnumSymbols
LM_EnumSymbolsEx
LM_GetSymbol
LM_GetSymbolEx

LM_EnumPages
LM_EnumPagesEx
LM_GetPage
LM_GetPageEx

LM_ReadMemory
LM_ReadMemoryEx
LM_WriteMemory
LM_WriteMemoryEx
LM_SetMemory
LM_SetMemoryEx
LM_ProtMemory
LM_ProtMemoryEx
LM_AllocMemory
LM_AllocMemoryEx
LM_FreeMemory
LM_FreeMemoryEx
LM_DataScan
LM_DataScanEx
LM_PatternScan
LM_PatternScanEx
LM_SigScan
LM_SigScanEx

LM_SystemCall
LM_SystemCallEx
LM_FunctionCall
LM_FunctionCallEx
LM_DetourCode
LM_DetourCodeEx
LM_MakeTrampoline
LM_MakeTrampolineEx
LM_DestroyTrampoline
LM_DestroyTrampolineEx

LM_DebugAttach
LM_DebugDetach
LM_DebugCheck
LM_DebugRead
LM_DebugWrite
LM_DebugGetRegs
LM_DebugSetRegs
LM_DebugPickReg
LM_DebugReadReg
LM_DebugWriteReg
LM_DebugContinue
LM_DebugStep
LM_DebugWait
LM_DebugWaitProcess
LM_DebugInject
LM_DebugInjectSingle

Projects

Made with libmem:

  • AssaultCube Multihack
  • X-Inject
  • DirectX9 BaseHook
  • DirectX11 BaseHook
  • OpenGL BaseHook
  • Counter-Strike 1.6 BaseHook
  • Crazymem - NodeJS Memory Library

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

libmem-0.1.3.tar.gz (31.3 kB view details)

Uploaded Source

File details

Details for the file libmem-0.1.3.tar.gz.

File metadata

  • Download URL: libmem-0.1.3.tar.gz
  • Upload date:
  • Size: 31.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6

File hashes

Hashes for libmem-0.1.3.tar.gz
Algorithm Hash digest
SHA256 155a6801393d81756792d19855a8172f487fdc8c3e51e9b41fc95565f87c8e94
MD5 49c4a51dc9bf18301b1efc1729a6c42f
BLAKE2b-256 29f0b5895234b676ca1f4f66cdc55c94ef4e5bcb4a36f73483c1fda60c0773e5

See more details on using hashes here.

Supported by

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