diff options
| author | Peter LaFosse <peter@vector35.com> | 2021-10-11 09:26:08 -0400 |
|---|---|---|
| committer | Peter LaFosse <peter@vector35.com> | 2021-10-11 14:59:24 -0400 |
| commit | 82b7cbd46bd5df3ac7ec38f138dd7ac80135b976 (patch) | |
| tree | 3960cd6cdcb63eec9ff04d0653cb6b3ac9c76db0 /python | |
| parent | 71cc80f6bc9f7e8ef8fb8cf33f288b8904dba756 (diff) | |
Remove unnecessary LLILBasicBlocksType
Diffstat (limited to 'python')
| -rw-r--r-- | python/binaryview.py | 2 | ||||
| -rw-r--r-- | python/lowlevelil.py | 1 |
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', |
