Skip to main content

setregset

Function setregset 

Source
pub fn setregset(pid: i32, nt: u32, buf: *mut u8, len: usize) -> Result<(), i32>
Expand description

Writes a register set (PTRACE_SETREGSET).

ยงArguments

  • pid - Tracee thread id.
  • nt - Note type, e.g. NT_PRSTATUS or NT_ARM_SYSTEM_CALL.
  • buf - Source of len bytes.