From 6ef07eaf6f26b41fa9c10b9cacf02f6893b0017a Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Tue, 25 Apr 2017 19:05:39 -0400 Subject: Fix invalid index in phi list --- python/mediumlevelil.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python') 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) -- cgit v1.3.1