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

Change Free/Destroy/Etc parameter to pointer #51

Closed rdbo closed 1 year ago

rdbo commented 1 year ago

The "object" that will be freed/destroyed should be passed in as a pointer, and its value should become NULL. For example, LM_UnhookCode does not take the trampoline as a pointer, but it should, because the trampoline will be freed.

rdbo commented 1 year ago

Done: d03b16f1bb26b579d76662426ff9f709d92c4c8b