From 5581a6e80d4c0e983147517e23aeb51f3639fa28 Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Sun, 28 Jul 2019 10:04:05 -0400 Subject: Fix ssa_form and non_ssa_form instruction index --- python/lowlevelil.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python') diff --git a/python/lowlevelil.py b/python/lowlevelil.py index f0a4e2a6..6ed25c80 100644 --- a/python/lowlevelil.py +++ b/python/lowlevelil.py @@ -863,13 +863,13 @@ class LowLevelILInstruction(object): def ssa_form(self): """SSA form of expression (read-only)""" return LowLevelILInstruction(self._function.ssa_form, - core.BNGetLowLevelILSSAExprIndex(self._function.handle, self.expr_index)) + core.BNGetLowLevelILSSAExprIndex(self._function.handle, self.expr_index), self._instr_index) @property def non_ssa_form(self): """Non-SSA form of expression (read-only)""" return LowLevelILInstruction(self._function.non_ssa_form, - core.BNGetLowLevelILNonSSAExprIndex(self._function.handle, self.expr_index)) + core.BNGetLowLevelILNonSSAExprIndex(self._function.handle, self.expr_index), self._instr_index) @property def medium_level_il(self): -- cgit v1.3.1