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)
| 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': |
nothing calls this directly
no test coverage detected