libmem
libmem copied to clipboard
Advanced Game Hacking Library for C/C++, Rust and Python (Windows/Linux/FreeBSD) (Process/Memory Hacking) (Hooking/Detouring) (Cross Platform) (x86/x64/ARM/ARM64) (DLL/SO Injection) (Internal/External...
One way that seems possible to achieve this is by using a `union`: ```c typedef struct { // ... union { lm_detail_x86 x86; lm_detail_aarch64 aarch64; // ... } detail; }...
Hi, i tried to build with ubuntu 22.04 on AARCH64 but i get this error: [ 53%] Building C object CMakeFiles/libmem.dir/src/linux/ptrace/ptrace.c.o /home/user/libmem/src/linux/ptrace/ptrace.c:28:10: fatal error: sys/reg.h: No such file or directory...
Mounting procfs is no longer necessary (5.0)
Simple PR to avoid adding "__declspec(dllexport)" to function declarations when creating a static library.
The [LM_LoadModuleEx](https://github.com/rdbo/libmem/blob/c8307d0cdf5e50b27defa37761acab9e8eb6a1be/src/win/module.c#L100) implementation for Windows doesn't set the `module_out` parameter to anything.
Although complex, a remote call API could be possible if done like this: ```c enum { LM_REG_RAX = 0, ... LM_REG_MAX }; enum { LM_FPREG_XMM0 = 0, ... LM_FPREG_MAX }...
These issues were mentioned by @d0ubleday   TLDR: - The ptrace impl doesn't check why the process stopped; it just assumed it was part of the regular execution (which...