summaryrefslogtreecommitdiff
path: root/python/lowlevelil.py
diff options
context:
space:
mode:
authorKyleMiles <krm504@nyu.edu>2021-11-01 23:15:54 -0400
committerKyleMiles <krm504@nyu.edu>2021-11-11 16:16:36 -0500
commit53640fb603ef58baf02bb43746046f9f62603f30 (patch)
tree557cd5fce36d10ebb03066c5548f20108e3aa940 /python/lowlevelil.py
parentf125e6c97df72d391615d823e46c411be78a853a (diff)
Resolves #2748; Variable.ssa_versions; Fixes some type annotations
Diffstat (limited to 'python/lowlevelil.py')
-rw-r--r--python/lowlevelil.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/lowlevelil.py b/python/lowlevelil.py
index 42c2878c..50e058e9 100644
--- a/python/lowlevelil.py
+++ b/python/lowlevelil.py
@@ -3008,7 +3008,8 @@ class LowLevelILFunction:
return []
@property
- def ssa_vars(self) -> List[Union['mediumlevelil.SSAVariable', SSARegisterStack, SSAFlag]]:
+ def ssa_vars(self) -> List[Union[SSARegister, SSARegisterStack, SSAFlag]]:
+ # TODO : Add ssa_varsions to these too
"""This is the union `LowLevelILFunction.ssa_registers`, `LowLevelILFunction.ssa_register_stacks`, and `LowLevelILFunction.ssa_flags`"""
if self.il_form == FunctionGraphType.LowLevelILSSAFormFunctionGraph:
return self.ssa_registers + self.ssa_register_stacks + self.ssa_flags # type: ignore