binaryninja.basicblock.BasicBlock¶
-
class
binaryninja.basicblock.BasicBlock(view, handle)[source]¶ -
Methods
__init__(view, handle)get_disassembly_text([settings])get_disassembly_textreturns a list of binaryninja.function.DisassemblyTextLine objects for the current basic block.get_iterated_dominance_frontier(blocks)mark_recent_use()set_auto_highlight(color)set_auto_highlighthighlights the current BasicBlock with the supplied color.set_user_highlight(color)set_user_highlighthighlights the current BasicBlock with the supplied colorAttributes
annotationsList of automatic annotations for the start of this block (read-only) archBasic block architecture (read-only) can_exitWhether basic block can return or is tagged as ‘No Return’ (read-only) disassembly_textdisassembly_textproperty which returns a list of binaryninja.function.DisassemblyTextLine objects for the current basic block.dominance_frontierDominance frontier for this basic block (read-only) dominator_tree_childrenList of child blocks in the dominator tree for this basic block (read-only) dominatorsList of dominators for this basic block (read-only) endBasic block end (read-only) functionBasic block function (read-only) has_undetermined_outgoing_edgesWhether basic block has undetermined outgoing edges (read-only) highlightGets or sets the highlight color for basic block immediate_dominatorImmediate dominator of this basic block (read-only) incoming_edgesList of basic block incoming edges (read-only) indexBasic block index in list of blocks for the function (read-only) is_ilWhether the basic block contains IL is_low_level_ilWhether the basic block contains Low Level IL is_medium_level_ilWhether the basic block contains Medium Level IL lengthBasic block length (read-only) outgoing_edgesList of basic block outgoing edges (read-only) startBasic block start (read-only) strict_dominatorsList of strict dominators for this basic block (read-only)