Crate process_read_write

Source

Functionsยง

  • get_proc_by_id will take a process id as i32 and get the process with that id
  • get_proc_by_name will take a name try to find a process with that name
  • read_addr is used to read n bytes from a process pid and starting from addr
  • watch_proc is used to monitor a process and get a real-time list of all the system calls it makes.
  • write_addr is used to write a buffer of n bytes into the memory of process pid at addr