summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/binaryview.py2
-rw-r--r--python/lowlevelil.py1
2 files changed, 1 insertions, 2 deletions
diff --git a/python/binaryview.py b/python/binaryview.py
index 212e02c4..eeaba4f6 100644
--- a/python/binaryview.py
+++ b/python/binaryview.py
@@ -1886,7 +1886,7 @@ class BinaryView:
yield from func.basic_blocks
@property
- def llil_basic_blocks(self) -> 'lowlevelil.LLILBasicBlocksType':
+ def llil_basic_blocks(self) -> Generator['lowlevelil.LowLevelILBasicBlock', None, None]:
"""A generator of all LowLevelILBasicBlock objects in the BinaryView"""
for func in self:
yield from func.low_level_il.basic_blocks
diff --git a/python/lowlevelil.py b/python/lowlevelil.py
index f0311bed..1f6914de 100644
--- a/python/lowlevelil.py
+++ b/python/lowlevelil.py
@@ -46,7 +46,6 @@ TokenList = List['function.InstructionTextToken']
InstructionOrExpression = Union['LowLevelILInstruction', Index]
ILRegisterType = Union[str, 'ILRegister', int]
LLILInstructionsType = Generator['LowLevelILInstruction', None, None]
-LLILBasicBlocksType = Generator['LowLevelILBasicBlock', None, None]
OperandsType = Tuple[ExpressionIndex, ExpressionIndex, ExpressionIndex, ExpressionIndex]
LowLevelILOperandType = Union[
'LowLevelILOperationAndSize',