diff options
| author | Glenn Smith <glenn@vector35.com> | 2025-06-15 16:34:31 -0400 |
|---|---|---|
| committer | Glenn Smith <glenn@vector35.com> | 2025-07-01 02:17:05 -0400 |
| commit | 4699046403729894016891936974371249694232 (patch) | |
| tree | f74969fd4542025f97766226b69bc4f30db71de8 /python/mediumlevelil.py | |
| parent | 9134714721422719282628558442981933300295 (diff) | |
Python: Couple minor typing tweaks
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: """ |
