summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorJordan Wiens <jordan@psifertex.com>2017-04-25 19:33:38 -0400
committerJordan Wiens <jordan@psifertex.com>2017-04-25 19:33:38 -0400
commit5076356e33c52b45ccc9a0e794cae5cdd0234fdf (patch)
tree7c77964b5eae3f053f52204bdf3f37772b21acce /python
parent83011a9ed7aee1dd64692aef874350ce0db289b0 (diff)
parent6ef07eaf6f26b41fa9c10b9cacf02f6893b0017a (diff)
Merge branch 'dev' of github.com:Vector35/binaryninja-api into dev
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)