summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/mediumlevelil.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/mediumlevelil.py b/python/mediumlevelil.py
index bc7a5c89..f205714e 100644
--- a/python/mediumlevelil.py
+++ b/python/mediumlevelil.py
@@ -179,7 +179,7 @@ class MediumLevelILInstruction(object):
value = []
for j in xrange(count.value / 2):
var_id = operand_list[j * 2]
- var_index = operand_list[(j * 2) + 2]
+ var_index = operand_list[(j * 2) + 1]
value.append((function.Variable.from_identifier(self.function.source_function,
var_id), var_index))
core.BNMediumLevelILFreeOperandList(operand_list)