pub struct Process { /* private fields */ }
Implementations§
Source§impl Process
impl Process
pub fn is_multithread_capable(&self) -> bool
pub fn get_initial_thread(&self) -> Arc<Mutex<Thread>>
pub fn threads(&self) -> Iter<'_, Arc<Mutex<Thread>>>
pub fn get_pid(&self) -> u32
pub fn get_architecture(&self) -> Architecture
pub fn is_running(&self) -> bool
pub fn is_terminated(&self) -> bool
pub fn set_user_data(&mut self, user_data: Box<dyn UserData>)
pub fn get_user_data(&mut self) -> Option<&mut Box<dyn UserData>>
pub fn continue_process(&mut self) -> Result<()>
pub fn create_breakpoint(&mut self, addr: u64) -> Result<()>
pub fn install_breakpoint(&mut self, addr: u64) -> Result<()>
pub fn remove_breakpoint(&mut self, addr: u64) -> Result<()>
pub fn delete_breakpoint(&mut self, addr: u64) -> Result<()>
pub fn refresh_state(&mut self) -> Result<()>
pub fn write_mem(&mut self, data: &[u8], addr: u64) -> Result<()>
pub fn read_mem(&mut self, size: u32, addr: u64) -> Result<Vec<u8>>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Process
impl !RefUnwindSafe for Process
impl !Send for Process
impl !Sync for Process
impl Unpin for Process
impl !UnwindSafe for Process
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more