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

Mark some libmem APIs as unsafe in Rust #124

Closed rdbo closed 1 year ago

rdbo commented 1 year ago

libmem is pretty much unsafe by design, since it does memory operations that can lead to all sorts of problems. The Rust language is very rigid when it comes to unsafety, so it's probably a good idea to mark the unsafe functions as unsafe.

rdbo commented 1 year ago

Done: 62cbfa30442bdbc2490c37bbd65898a7c48e3e6d