MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / il_basic_block

Method il_basic_block

python/highlevelil.py:613–622  ·  view source on GitHub ↗

IL basic block object containing this expression (read-only) (only available on finalized functions). Returns None for HLIL_BLOCK expressions as these can contain multiple basic blocks.

(self)

Source from the content-addressed store, hash-verified

611
612 @property
613 def il_basic_block(self) -> Optional['HighLevelILBasicBlock']:
614 """
615 IL basic block object containing this expression (read-only) (only available on finalized functions).
616 Returns None for HLIL_BLOCK expressions as these can contain multiple basic blocks.
617 """
618 core_block = core.BNGetHighLevelILBasicBlockForInstruction(self.function.handle, self.instr_index)
619 assert core_block is not None, "core.BNGetHighLevelILBasicBlockForInstruction returned None"
620 if self.function.source_function is None:
621 return None
622 return HighLevelILBasicBlock(core_block, self.function, self.function.source_function.view)
623
624 @property
625 def value(self) -> 'variable.RegisterValue':

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected