Struct frida_gum::CpuContext [−][src]
Platform-dependent access to processor state.
Implementations
impl<'a> CpuContext<'a>
[src]
pub fn arg(&self, n: u32) -> usize
[src]
Get a numbered argument from the processor context, determined by the platform calling convention.
pub fn set_arg(&mut self, n: u32, value: usize)
[src]
Set a numbered argument in the processor context, determined by the platform calling convention.
pub fn return_value(&self) -> usize
[src]
Get the value of the register used for the platform calling convention’s return value.
pub fn set_return_value(&mut self, value: usize)
[src]
Set the value of the register used for the platform calling convention’s return value.
pub fn rip(&self) -> u64
[src]
pub fn set_rip(&mut self, rip: u64)
[src]
pub fn r15(&self) -> u64
[src]
pub fn set_r15(&mut self, r15: u64)
[src]
pub fn r14(&self) -> u64
[src]
pub fn set_r14(&mut self, r14: u64)
[src]
pub fn r13(&self) -> u64
[src]
pub fn set_r13(&mut self, r13: u64)
[src]
pub fn r12(&self) -> u64
[src]
pub fn set_r12(&mut self, r12: u64)
[src]
pub fn r11(&self) -> u64
[src]
pub fn set_r11(&mut self, r11: u64)
[src]
pub fn r10(&self) -> u64
[src]
pub fn set_r10(&mut self, r10: u64)
[src]
pub fn r9(&self) -> u64
[src]
pub fn set_r9(&mut self, r9: u64)
[src]
pub fn r8(&self) -> u64
[src]
pub fn set_r8(&mut self, r8: u64)
[src]
pub fn rdi(&self) -> u64
[src]
pub fn set_rdi(&mut self, rdi: u64)
[src]
pub fn rsi(&self) -> u64
[src]
pub fn set_rsi(&mut self, rsi: u64)
[src]
pub fn rbp(&self) -> u64
[src]
pub fn set_rbp(&mut self, rbp: u64)
[src]
pub fn rsp(&self) -> u64
[src]
pub fn set_rsp(&mut self, rsp: u64)
[src]
pub fn rbx(&self) -> u64
[src]
pub fn set_rbx(&mut self, rbx: u64)
[src]
pub fn rdx(&self) -> u64
[src]
pub fn set_rdx(&mut self, rdx: u64)
[src]
pub fn rcx(&self) -> u64
[src]
pub fn set_rcx(&mut self, rcx: u64)
[src]
pub fn rax(&self) -> u64
[src]
pub fn set_rax(&mut self, rax: u64)
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for CpuContext<'a>
impl<'a> !Send for CpuContext<'a>
impl<'a> !Sync for CpuContext<'a>
impl<'a> Unpin for CpuContext<'a>
impl<'a> UnwindSafe for CpuContext<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,