pub unsafe fn write(
pid: Pid,
addr: AddressType,
data: *mut c_void,
) -> Result<()>
Expand description
Writes a word into the processes memory at the given address
ยงSafety
The data
argument is passed directly to ptrace(2)
. Read that man page
for guidance.