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

Take process name from path instead of comm #98

Closed rdbo closed 1 year ago

rdbo commented 1 year ago

The string at /proc/<pid>/comm (and perhaps at struct kinfo_proc->ki_comm) can be modified. For example, Firefox's comm is not firefox or firefox-esr, but rather Isolated Web Co, which is definitely not the process name.

rdbo commented 1 year ago

Done: 5717800e045f4c3c277fdbd83d56755c43fc29bf