fn update_prname(&mut self, child_addr: RemotePtr<Void>) {
        let mut buf = vec![0u8; 16];
        let res = self.read_bytes_fallible(child_addr, &mut buf);
        ed_assert!(self, res.is_ok());
        let bytes_read = res.unwrap();
        ed_assert!(self, bytes_read > 0);
        self.prname = OsString::from_vec(buf);
    }
/// Call this after the tracee successfully makes a
/// `prctl(PR_SET_NAME)` call to change the task name to the
/// string pointed at in the tracee's address space by
/// `child_addr`.
Call this after the tracee successfully makes a
`prctl(PR_SET_NAME)` call to change the task name to the
string pointed at in the tracee's address space by
`child_addr`.
Call this after the tracee successfully makes a ` prctl ( PR_SET_NAME ) ` call to change the task name to the string pointed at in the tracee ' s address space by ` child_addr ` .
fn update_prname(&mut self, child_addr: RemotePtr<Void>) {
        let mut buf = vec![0u8; 16];
        let res = self.read_bytes_fallible(child_addr, &mut buf);
        ed_assert!(self, res.is_ok());
        let bytes_read = res.unwrap();
        ed_assert!(self, bytes_read > 0);
        self.prname = OsString::from_vec(buf);
    }
fn update_prname ( & mut self , child_addr : RemotePtr < Void > ) { let mut buf = vec ! [ 0u8 16 ] ; let res = self . read_bytes_fallible ( child_addr , & mut buf ) ; ed_assert ! ( self res is_ok ( ) ) ; let bytes_read = res . unwrap ( ) ; ed_assert ! ( self bytes_read 0 ) ; self . prname = OsString :: from_vec ( buf ) ; }
Call this after the tracee successfully makes a
`prctl(PR_SET_NAME)` call to change the task name to the
string pointed at in the tracee's address space by
`child_addr`.
Call this after the tracee successfully makes a ` prctl ( PR_SET_NAME ) ` call to change the task name to the string pointed at in the tracee ' s address space by ` child_addr ` .
&mut self
child_addr
RemotePtr<Void>