binaryninja::basic_block

Trait BlockContext

source
pub trait BlockContext:
    Clone
    + Sync
    + Send
    + Sized {
    type Instruction;
    type InstructionIndex: Debug + From<u64>;
    type Iter: Iterator<Item = Self::Instruction>;

    // Required methods
    fn start(&self, block: &BasicBlock<Self>) -> Self::Instruction;
    fn iter(&self, block: &BasicBlock<Self>) -> Self::Iter;
}

Required Associated Types§

Required Methods§

source

fn start(&self, block: &BasicBlock<Self>) -> Self::Instruction

source

fn iter(&self, block: &BasicBlock<Self>) -> Self::Iter

Object Safety§

This trait is not object safe.

Implementors§