Struct frida_gum::interceptor::InvocationContext[][src]

pub struct InvocationContext<'a> { /* fields omitted */ }

Represents the processor state when an InvocationListener is entered.

Implementations

impl<'a> InvocationContext<'a>[src]

pub fn point_cut(&self) -> PointCut[src]

Point at which the InvocationContext exists.

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(&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(&self, value: usize)[src]

Set the value of the register used for the platform calling convention’s return value.

pub fn return_addr(&self) -> usize[src]

Get the destination address after the function returns.

pub fn thread_id(&self) -> u32[src]

Get the thread ID of the currently executing function.

pub fn depth(&self) -> u32[src]

Get the number of recursive interceptor invocations.

Auto Trait Implementations

impl<'a> RefUnwindSafe for InvocationContext<'a>

impl<'a> !Send for InvocationContext<'a>

impl<'a> !Sync for InvocationContext<'a>

impl<'a> Unpin for InvocationContext<'a>

impl<'a> UnwindSafe for InvocationContext<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.