binaryninja::low_level_il::instruction

Trait InstructionHandler

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

Required Methods§

source

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

source

fn visit_tree<T>(&self, f: &mut T) -> VisitorAction
where T: FnMut(&LowLevelILExpression<'func, A, 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, A, M> InstructionHandler<'func, A, M, NonSSA<LiftedNonSSA>> for LowLevelILInstruction<'func, A, M, NonSSA<LiftedNonSSA>>
where A: 'func + Architecture, M: FunctionMutability,

source§

impl<'func, A, M> InstructionHandler<'func, A, M, NonSSA<RegularNonSSA>> for LowLevelILInstruction<'func, A, M, NonSSA<RegularNonSSA>>
where A: 'func + Architecture, M: FunctionMutability,

source§

impl<'func, A, M> InstructionHandler<'func, A, M, SSA> for LowLevelILInstruction<'func, A, M, SSA>
where A: 'func + Architecture, M: FunctionMutability,