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
784 stars 91 forks source link

Give proper names to APIs, types, etc #55

Closed rdbo closed 1 year ago

rdbo commented 1 year ago

Some things in libmem are not properly named. For example, LM_GetProcessIdEx. It should be something like LM_FindProcessId, since it has no guarantee that it will be got or not - on the other side LM_GetProcessId is always going to succeed by returning the current process ID.

rdbo commented 1 year ago

Done: from bcf45d6947afdb38e5262c1f48661cd288c2914c to 773cc36c6f1acd81e5beb7636d90aee6ae363344