summaryrefslogtreecommitdiff
path: root/python/lowlevelil.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/lowlevelil.py')
-rw-r--r--python/lowlevelil.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/lowlevelil.py b/python/lowlevelil.py
index 6cd87227..76259057 100644
--- a/python/lowlevelil.py
+++ b/python/lowlevelil.py
@@ -4177,12 +4177,12 @@ class LowLevelILFunction:
result |= flag.value
core.BNSetLowLevelILExprAttributes(self.handle, expr, result)
- def append(self, expr: ExpressionIndex) -> int:
+ def append(self, expr: ExpressionIndex) -> InstructionIndex:
"""
``append`` adds the ExpressionIndex ``expr`` to the current LowLevelILFunction.
:param ExpressionIndex expr: the ExpressionIndex to add to the current LowLevelILFunction
- :return: number of ExpressionIndex in the current function
+ :return: Index of added instruction in the current function
:rtype: int
"""
return core.BNLowLevelILAddInstruction(self.handle, expr)