Function nix::sys::ptrace::setregs
pub fn setregs(pid: Pid, regs: user_regs_struct) -> Result<()>
The portability is definied by:
#[cfg(all(target_os = "linux",
any(all(target_arch = "x86_64", any(target_env = "gnu", target_env = "musl")),
all(target_arch = "x86", target_env = "gnu"))))]
Documentation
Set user registers, as with ptrace(PTRACE_SETREGS, ...)