Skip to main content

read_string

Function read_string 

Source
pub fn read_string(pid: Pid, addr: u64, max_len: usize) -> Result<String>
Expand description

Read a null-terminated string from the tracee’s address space. Reads word-by-word via ptrace, stops at null byte or max_len.