Skip to main content

rewrite_proc_self

Function rewrite_proc_self 

Source
fn rewrite_proc_self(path: &[u8], pid: u32) -> Vec<u8> ⓘ
Expand description

Replaces a leading /proc/self or /proc/thread-self with the tracee’s pid.