diff options
Diffstat (limited to 'python')
| -rw-r--r-- | python/lowlevelil.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/python/lowlevelil.py b/python/lowlevelil.py index 6ed25c80..10bebcc5 100644 --- a/python/lowlevelil.py +++ b/python/lowlevelil.py @@ -863,13 +863,15 @@ 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), self._instr_index) + core.BNGetLowLevelILSSAExprIndex(self._function.handle, self.expr_index), + core.BNGetLowLevelILSSAInstructionIndex(self._function.handle, self._instr_index) if self._instr_index is not None else None) @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), self._instr_index) + core.BNGetLowLevelILNonSSAExprIndex(self._function.handle, self.expr_index), + core.BNGetLowLevelILNonSSAInstructionIndex(self._function.handle, self._instr_index) if self._instr_index is not None else None) @property def medium_level_il(self): |
