diff options
| author | Peter LaFosse <peter@vector35.com> | 2021-11-23 08:59:02 -0500 |
|---|---|---|
| committer | Peter LaFosse <peter@vector35.com> | 2021-11-29 09:25:27 -0500 |
| commit | b82050fe24f7920c9ff29f4494236844375eeba9 (patch) | |
| tree | 9191c7faf954e4065558c25c181d82963ad593e0 /python | |
| parent | de0b872e18644ed4e748c084a93eb68112bf38b2 (diff) | |
Minor code cleanup in get_var
Diffstat (limited to 'python')
| -rw-r--r-- | python/highlevelil.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/highlevelil.py b/python/highlevelil.py index b8203e75..82e19557 100644 --- a/python/highlevelil.py +++ b/python/highlevelil.py @@ -631,7 +631,7 @@ class HighLevelILInstruction(BaseILInstruction): def get_var(self, operand_index:int) -> 'variable.Variable': value = self.core_instr.operands[operand_index] - return variable.Variable.from_identifier(self.function, self.core_instr.operands[operand_index]) + return variable.Variable.from_identifier(self.function, value) def get_var_ssa(self, operand_index1:int, operand_index2:int) -> 'mediumlevelil.SSAVariable': var = variable.Variable.from_identifier(self.function, self.core_instr.operands[operand_index1]) |
