Trait InstructionHandler

Source
pub trait InstructionHandler<'func, M, F>{
    // Required methods
    fn kind(&self) -> LowLevelILInstructionKind<'func, M, F>;
    fn visit_tree<T>(&self, f: &mut T) -> VisitorAction
       where T: FnMut(&LowLevelILExpression<'func, M, F, ValueExpr>) -> VisitorAction;
}

Required Methods§

Source

fn kind(&self) -> LowLevelILInstructionKind<'func, M, F>

Source

fn visit_tree<T>(&self, f: &mut T) -> VisitorAction
where T: FnMut(&LowLevelILExpression<'func, M, F, ValueExpr>) -> VisitorAction,

Visit the sub expressions of this instruction.

NOTE: This does not visit the root expression, i.e. the instruction.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<'func, M> InstructionHandler<'func, M, NonSSA> for LowLevelILInstruction<'func, M, NonSSA>

Source§

impl<'func, M> InstructionHandler<'func, M, SSA> for LowLevelILInstruction<'func, M, SSA>