BasicBlock in binaryninja::basic_block - Rust

Source

pub unsafe fn from_raw(handle: *mut BNBasicBlock, context: C) -> Self

Source

pub fn function(&self) -> Ref<Function>

Source

pub fn arch(&self) -> CoreArchitecture

Source

pub fn block_type(&self) -> BasicBlockType

Source

pub fn iter(&self) -> C::Iter

Source

pub fn start_index(&self) -> C::InstructionIndex

Source

pub fn end_index(&self) -> C::InstructionIndex

Source

pub fn start(&self) -> u64

Source

pub fn end(&self) -> u64

Source

pub fn set_end(&self, end: u64)

Source

pub fn add_instruction_data(&self, data: &[u8])

Source

pub fn instruction_data(&self, addr: u64) -> &[u8]

Source

pub fn set_has_invalid_instructions(&self, value: bool)

Source

pub fn has_invalid_instructions(&self) -> bool

Source

pub fn raw_length(&self) -> u64

Source

pub fn incoming_edges(&self) -> Array<Edge<'_, C>>

Source

pub fn outgoing_edges(&self) -> Array<Edge<'_, C>>

Source

pub fn pending_outgoing_edges(&self) -> Vec<PendingBasicBlockEdge>

Source

pub fn add_pending_outgoing_edge( &self, typ: BranchType, addr: u64, arch: CoreArchitecture, fallthrough: bool, )

Source

pub fn clear_pending_outgoing_edges(&self)

Source

pub fn set_fallthrough_to_function(&self, value: bool)

Source

pub fn is_fallthrough_to_function(&self) -> bool

Source

pub fn has_undetermined_outgoing_edges(&self) -> bool

Source

pub fn set_undetermined_outgoing_edges(&self, value: bool)

Source

pub fn can_exit(&self) -> bool

Source

pub fn set_can_exit(&self, value: bool)

Source

pub fn index(&self) -> usize

Source

pub fn immediate_dominator(&self) -> Option<Ref<Self>>

Source

pub fn dominators(&self) -> Array<BasicBlock<C>>

Source

pub fn strict_dominators(&self) -> Array<BasicBlock<C>>

Source

pub fn dominator_tree_children(&self) -> Array<BasicBlock<C>>

Source

pub fn dominance_frontier(&self) -> Array<BasicBlock<C>>