diff options
Diffstat (limited to 'python/mediumlevelil.py')
| -rw-r--r-- | python/mediumlevelil.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/mediumlevelil.py b/python/mediumlevelil.py index d4aef4ce..b4d6663e 100644 --- a/python/mediumlevelil.py +++ b/python/mediumlevelil.py @@ -3621,7 +3621,7 @@ class MediumLevelILFunction: :return: Index of added instruction in the current function :rtype: int """ - return core.BNMediumLevelILAddInstruction(self.handle, expr) + return InstructionIndex(core.BNMediumLevelILAddInstruction(self.handle, expr)) def nop(self, loc: Optional['ILSourceLocation'] = None) -> ExpressionIndex: """ |
