summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2019-07-28 10:04:05 -0400
committerPeter LaFosse <peter@vector35.com>2019-08-03 10:21:31 -0400
commit5581a6e80d4c0e983147517e23aeb51f3639fa28 (patch)
tree222c897577638201a9f54e831e94a23fd38e6ba4 /python
parent93bb3e8cf9ef789b5fdbf321815ed6108291786c (diff)
Fix ssa_form and non_ssa_form instruction index
Diffstat (limited to 'python')
-rw-r--r--python/lowlevelil.py4
1 files changed, 2 insertions, 2 deletions
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):