fn rewrite_proc_self(path: &[u8], pid: u32) -> Vec<u8> ⓘ
Replaces a leading /proc/self or /proc/thread-self with the tracee’s pid.
/proc/self
/proc/thread-self