Trait frida_gum::interceptor::InvocationListener
source · pub trait InvocationListener {
// Required methods
fn on_enter(&mut self, context: InvocationContext<'_>);
fn on_leave(&mut self, context: InvocationContext<'_>);
}
Available on crate feature
invocation-listener
only.Expand description
Represents a pair of listeners attached to a function.
Required Methods§
sourcefn on_enter(&mut self, context: InvocationContext<'_>)
fn on_enter(&mut self, context: InvocationContext<'_>)
Called when the attached function is entered.
sourcefn on_leave(&mut self, context: InvocationContext<'_>)
fn on_leave(&mut self, context: InvocationContext<'_>)
Called before the attached function is exited.