From b82050fe24f7920c9ff29f4494236844375eeba9 Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Tue, 23 Nov 2021 08:59:02 -0500 Subject: Minor code cleanup in get_var --- python/highlevelil.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/highlevelil.py') 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]) -- cgit v1.3.1