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/ARM/ARM64) (DLL/SO Injection) (Internal/External) (Assembler/Disassembler)
GNU Affero General Public License v3.0
764 stars 92 forks source link

Fix LM_UnloadModule(Ex) on Linux #99

Closed rdbo closed 8 months ago

rdbo commented 1 year ago

Title says it all

rdbo commented 1 year ago

OBS: The strategy of getting the handle with RTLD_NOLOAD and closing it twice does work on FreeBSD. Apparently not on Linux.

rdbo commented 10 months ago

This has been fixed for local modules: b7da7fea4c89e2e62657cfe265c2cbece10ffe9e NOTE: Unloading libs does not work in musl - in musl, dlclose is a no-op.

rdbo commented 8 months ago

This is now done by kubo/injector externally so closing this.