Skip to content

Commit 8cc5a88

Browse files
committed
small documentation update for llil call and call_stack_adjust instructions
1 parent 1956f69 commit 8cc5a88

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

python/lowlevelil.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5251,8 +5251,8 @@ def jump_to(self, dest: ExpressionIndex, targets: Dict[int, 'LowLevelILLabel'],
52515251

52525252
def call(self, dest: ExpressionIndex, loc: Optional['ILSourceLocation'] = None) -> ExpressionIndex:
52535253
"""
5254-
``call`` returns an expression which first pushes the address of the next instruction onto the stack then jumps
5255-
(branches) to the expression ``dest``
5254+
``call`` returns an expression which (on architectures without a link register) first pushes the address of the
5255+
next instruction onto the stack then jumps (branches) to the expression ``dest``
52565256
52575257
:param ExpressionIndex dest: the expression to call
52585258
:param ILSourceLocation loc: location of returned expression
@@ -5269,9 +5269,8 @@ def call_stack_adjust(
52695269
loc: Optional['ILSourceLocation'] = None
52705270
) -> ExpressionIndex:
52715271
"""
5272-
``call_stack_adjust`` returns an expression which first pushes the address of the next instruction onto the stack
5273-
then jumps (branches) to the expression ``dest``. After the function exits, ``stack_adjust`` is added to the
5274-
stack pointer register.
5272+
``call_stack_adjust`` returns an expression which (on architectures without a link register) first pushes the address of the next instruction onto the stack
5273+
then jumps (branches) to the expression ``dest``. After the function exits, ``stack_adjust`` is added to the stack pointer register.
52755274
52765275
:param ExpressionIndex dest: the expression to call
52775276
:param ILSourceLocation loc: location of returned expression

0 commit comments

Comments
 (0)