summaryrefslogtreecommitdiff
path: root/python/mediumlevelil.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/mediumlevelil.py')
-rw-r--r--python/mediumlevelil.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/mediumlevelil.py b/python/mediumlevelil.py
index e7b852c2..ae6c8b01 100644
--- a/python/mediumlevelil.py
+++ b/python/mediumlevelil.py
@@ -683,7 +683,7 @@ class MediumLevelILInstruction:
def get_var(self, operand_index:int) -> variable.Variable:
value = self.instr.operands[operand_index]
- return variable.Variable.from_identifier(self.function.source_function, self.instr.operands[operand_index])
+ return variable.Variable.from_identifier(self.function.source_function, value)
def get_var_ssa(self, operand_index1:int, operand_index2:int) -> SSAVariable:
var = variable.Variable.from_identifier(self.function.source_function, self.instr.operands[operand_index1])