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 process PPID for processes with spaces on the name (*nix) #122

Closed rdbo closed 1 year ago

rdbo commented 1 year ago

libmem fails to retrieve the PPID, for example, of the following process:

3770998 (Isolated Web Co) S 3034 ...

The PPID is 3034, but because there are spaces in Isolated Web Co, it fails to find it.

rdbo commented 1 year ago

Fixed: 5e5f056927646372580c2ee1f238459e80ef961a