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

Check processes and modules against the name only #97

Closed rdbo closed 1 year ago

rdbo commented 1 year ago

libmem currently finds processes and modules based on the ending of a path. Instead of doing that, it could check against the name (or the start of the name even)

rdbo commented 1 year ago

Not a good idea. Some functions that use, for example, LM_FindModule are matching against the whole path to make sure it is the same module.