Esempio n. 1
0
	def il_basic_block(self):
		"""
		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.
		"""
		block = core.BNGetHighLevelILBasicBlockForInstruction(self._function.handle, self._instr_index)
		if not block:
			return None
		return HighLevelILBasicBlock(self._function.source_function.view, block, self._function)
Esempio n. 2
0
 def il_basic_block(self):
     """IL basic block object containing this expression (read-only) (only available on finalized functions)"""
     return HighLevelILBasicBlock(
         self._function.source_function.view,
         core.BNGetHighLevelILBasicBlockForInstruction(
             self._function.handle, self._instr_index), self._function)