rdbo/libmem logo

rdbo/libmem

Free

Advanced Game Hacking Library for C, Modern C++, Rust and Python (Windows/Linux/FreeBSD) (Process/Memory Hacking) (Hooking/Detouring) (Cross Platform) (x86/x64) (DLL/SO Injection) (Internal/External) (Assembler/Disassembler)

FreeFree tier
Type
Open Source

About rdbo/libmem

Libmem is an advanced, cross-platform game hacking library written in C, with bindings for modern C++, Rust, and Python. It provides a comprehensive suite of features for process and memory manipulation, including reading/writing memory, allocating and protecting memory regions, scanning memory for patterns/signatures, resolving pointer maps, hooking and detouring functions, assembling and disassembling code (JIT), VMT hooking, and loading/unloading modules. The library supports internal (in-process) and external (out-of-process) techniques across Windows, Linux, and FreeBSD (x86/x64), with untested support for ARM and AArch64. Its open-source nature (GNU AGPLv3) and active community (via Discord) make it a powerful tool for game hacking, modding, reverse engineering, and educational purposes.

Key Features

Internal and external process manipulation
Enumerate processes, modules, symbols, threads, and memory segments
Read/write, allocate, and protect memory regions
Scan memory with pattern/signature matching
Resolve pointer scans and pointer maps
Hook and unhook functions (code detouring)
Assemble and disassemble code with JIT compilation
VMT hooking and unhooking
Load and unload modules (DLL/SO injection)
Enumerate process threads

Pros & Cons

Pros
  • Cross-platform: Windows, Linux, FreeBSD with x86/x64 support
  • Multiple language bindings: C, C++, Rust, Python
  • Comprehensive feature set covering memory, hooking, disassembly, and module injection
  • Open source (GNU AGPLv3) with an active community (Discord)
  • Well-documented with code examples in multiple languages
Cons
  • AGPLv3 license may be restrictive for proprietary commercial projects
  • ARM/AArch64 support is untested and may be unstable
  • Focus on game hacking may limit applicability in other domains
  • No built-in GUI or higher-level abstractions; requires programming knowledge

Best For

Game hacking and moddingMemory editing and debugging toolsReverse engineering of softwareEducational demonstrations of process manipulationAutomated testing and patching

FAQ

What programming languages does Libmem support?
Libmem supports C, modern C++ (C++20 or higher), Rust, and Python.
Which platforms are supported?
Windows, Linux, and FreeBSD on x86 and x64 architectures. ARM and AArch64 are listed as untested.
What is the license of Libmem?
Libmem is licensed under the GNU AGPLv3.0 (no later versions). Note that submodules and external dependencies may have their own licenses.
Is there a community or support channel?
Yes, there is a Discord server for community discussions: https://discord.com/invite/Qw8jsPD99X