pub struct Process {
pub pid: i32,
pub maps: Vec<MemoryRegion>,
pub executable_dir: Option<PathBuf>,
}Fields§
§pid: i32§maps: Vec<MemoryRegion>§executable_dir: Option<PathBuf>Trait Implementations§
Source§impl ProcessTraits for Process
impl ProcessTraits for Process
Source§fn initialize(
proc_name: &str,
exclude: &[&str],
) -> Result<Process, ProcessError>
fn initialize( proc_name: &str, exclude: &[&str], ) -> Result<Process, ProcessError>
Initialize a
Process struct Read moreSource§fn find_process(
proc_name: &str,
exclude: &[&str],
) -> Result<Process, ProcessError>
fn find_process( proc_name: &str, exclude: &[&str], ) -> Result<Process, ProcessError>
Attemp to find a process Read more
fn read_regions(self) -> Result<Process, ProcessError>
fn read_signature(&self, sign: &Signature) -> Result<i32, ProcessError>
fn read( &self, addr: i32, len: usize, buff: &mut [u8], ) -> Result<(), ProcessError>
fn read_uleb128(&self, addr: i32) -> Result<u64, ProcessError>
fn read_string(&self, addr: i32) -> Result<String, ProcessError>
fn read_i8(&self, addr: i32) -> Result<i8, ProcessError>
fn read_i16(&self, addr: i32) -> Result<i16, ProcessError>
fn read_i32(&self, addr: i32) -> Result<i32, ProcessError>
fn read_i64(&self, addr: i32) -> Result<i64, ProcessError>
fn read_i128(&self, addr: i32) -> Result<i128, ProcessError>
fn read_u8(&self, addr: i32) -> Result<u8, ProcessError>
fn read_u16(&self, addr: i32) -> Result<u16, ProcessError>
fn read_u32(&self, addr: i32) -> Result<u32, ProcessError>
fn read_u64(&self, addr: i32) -> Result<u64, ProcessError>
fn read_u128(&self, addr: i32) -> Result<u128, ProcessError>
fn read_f32(&self, addr: i32) -> Result<f32, ProcessError>
fn read_f64(&self, addr: i32) -> Result<f64, ProcessError>
fn read_i8_array( &self, addr: i32, buff: &mut Vec<i8>, ) -> Result<(), ProcessError>
fn read_i16_array( &self, addr: i32, buff: &mut Vec<i16>, ) -> Result<(), ProcessError>
fn read_i32_array( &self, addr: i32, buff: &mut Vec<i32>, ) -> Result<(), ProcessError>
fn read_i64_array( &self, addr: i32, buff: &mut Vec<i64>, ) -> Result<(), ProcessError>
fn read_i128_array( &self, addr: i32, buff: &mut Vec<i128>, ) -> Result<(), ProcessError>
fn read_u8_array( &self, addr: i32, buff: &mut Vec<u8>, ) -> Result<(), ProcessError>
fn read_u16_array( &self, addr: i32, buff: &mut Vec<u16>, ) -> Result<(), ProcessError>
fn read_u32_array( &self, addr: i32, buff: &mut Vec<u32>, ) -> Result<(), ProcessError>
fn read_u64_array( &self, addr: i32, buff: &mut Vec<u64>, ) -> Result<(), ProcessError>
fn read_u128_array( &self, addr: i32, buff: &mut Vec<u128>, ) -> Result<(), ProcessError>
fn read_f32_array( &self, addr: i32, buff: &mut Vec<f32>, ) -> Result<(), ProcessError>
fn read_f64_array( &self, addr: i32, buff: &mut Vec<f64>, ) -> Result<(), ProcessError>
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