Function read_argv
Source pub fn read_argv(
ctx: &Ctx,
pid: u32,
argv_ptr: u64,
ptr_size: usize,
) -> Result<Vec<Vec<u8>>, i32>
Expand description
Reads the tracee’s argument vector.
§Arguments
ctx - Shared supervisor state.
pid - Tracee thread id.
argv_ptr - Address of the pointer array, or 0.
ptr_size - Pointer width of the tracee’s ABI.
§Returns
The strings; empty for a NULL argv.