diff options
| author | Peter LaFosse <peter@vector35.com> | 2021-09-03 15:20:17 -0400 |
|---|---|---|
| committer | Peter LaFosse <peter@vector35.com> | 2021-09-06 11:46:43 -0400 |
| commit | 6263d15f0c5818cf2df62e2e6d4103a978251f63 (patch) | |
| tree | 26b5597adb30dd113e788e5c611a21d5bf6dfbed /python/highlevelil.py | |
| parent | 5c82c6036e04936e253d2031f73f8218bbed06aa (diff) | |
Fix hlil vars_used_in_function
Diffstat (limited to 'python/highlevelil.py')
| -rw-r--r-- | python/highlevelil.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/python/highlevelil.py b/python/highlevelil.py index a3a2cc52..05de45de 100644 --- a/python/highlevelil.py +++ b/python/highlevelil.py @@ -104,7 +104,7 @@ class GotoLabel: core.BNSetUserGotoLabelName(self.function.source_function.handle, self.id, value) @property - def definition(self) -> Optional[HighLevelILInstruction]: + def definition(self) -> Optional['HighLevelILInstruction']: return self.function.get_label(self.id) @property @@ -1357,7 +1357,7 @@ class HighLevelILArray_index(HighLevelILInstruction): @property def vars_used_in_address(self) -> VariablesList: - return self.src + return self.src.vars @dataclass(frozen=True, repr=False) @@ -1381,7 +1381,7 @@ class HighLevelILArray_index_ssa(HighLevelILInstruction, SSA): @property def vars_used_in_address(self) -> VariablesList: - return self.src + return self.src.vars @property def operands(self) -> List[HighLevelILOperandType]: @@ -1413,7 +1413,7 @@ class HighLevelILDeref(HighLevelILUnaryBase): @property def vars_used_in_address(self) -> VariablesList: - return self.vars + return self.vars @dataclass(frozen=True, repr=False) @@ -1437,7 +1437,7 @@ class HighLevelILDeref_field(HighLevelILInstruction): @property def vars_used_in_address(self) -> VariablesList: - return self.vars + return self.vars @property def operands(self) -> List[HighLevelILOperandType]: @@ -1461,7 +1461,7 @@ class HighLevelILDeref_ssa(HighLevelILInstruction, SSA): @property def vars_used_in_address(self) -> VariablesList: - return self.vars + return self.vars @property def operands(self) -> List[HighLevelILOperandType]: @@ -1493,7 +1493,7 @@ class HighLevelILDeref_field_ssa(HighLevelILInstruction, SSA): @property def vars_used_in_address(self) -> VariablesList: - return self.vars + return self.vars @property def operands(self) -> List[HighLevelILOperandType]: |
