rdbo / libmem

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)
GNU Affero General Public License v3.0
807 stars 98 forks source link

Fix LM_LoadModuleEx on Debian #65

Closed rdbo closed 11 months ago

rdbo commented 1 year ago

Debian seems to be missing the __libc_dlopen_mode function on its libc. dlopen should be called from elsewhere, such as libdl if it's available.

rdbo commented 1 year ago

From the README.md in https://github.com/gaffe23/linux-inject:

None of the versions seem to work on Debian.
__libc_dlopen_mode() in Debian's libc does not load shared
libraries in the same manner as Arch's and Ubuntu's versions do.
I tested this on both x86_64 and armv6.
rdbo commented 1 year ago

This issue is a continuation of #35, but for Debian

rdbo commented 11 months ago

Library injection is now done by kubo/injector, so I'm closing this.