binaryninja::low_level_il::instruction

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.

Object Safety§

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>