pub struct RecipeContext<'a, Driver, Os, T>{
pub vmi: &'a VmiContext<'a, Driver, Os>,
pub registers: &'a mut <<Driver as VmiDriver>::Architecture as Architecture>::Registers,
pub data: &'a mut T,
pub cache: &'a mut HashMap<String, HashMap<String, Va>>,
}Available on crate features
utils and injector only.Expand description
Context provided to each recipe step during execution.
Fields§
§vmi: &'a VmiContext<'a, Driver, Os>The VMI context.
registers: &'a mut <<Driver as VmiDriver>::Architecture as Architecture>::RegistersThe CPU registers.
data: &'a mut TUser-provided data shared between steps.
cache: &'a mut HashMap<String, HashMap<String, Va>>Cache of resolved symbols for each module.
Auto Trait Implementations§
impl<'a, Driver, Os, T> Freeze for RecipeContext<'a, Driver, Os, T>
impl<'a, Driver, Os, T> !RefUnwindSafe for RecipeContext<'a, Driver, Os, T>
impl<'a, Driver, Os, T> !Send for RecipeContext<'a, Driver, Os, T>
impl<'a, Driver, Os, T> !Sync for RecipeContext<'a, Driver, Os, T>
impl<'a, Driver, Os, T> Unpin for RecipeContext<'a, Driver, Os, T>
impl<'a, Driver, Os, T> !UnwindSafe for RecipeContext<'a, Driver, Os, T>
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