From 82b7cbd46bd5df3ac7ec38f138dd7ac80135b976 Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Mon, 11 Oct 2021 09:26:08 -0400 Subject: Remove unnecessary LLILBasicBlocksType --- python/binaryview.py | 2 +- python/lowlevelil.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'python') 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', -- cgit v1.3.1