MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / ret

Method ret

python/lowlevelil.py:5121–5131  ·  view source on GitHub ↗

``ret`` returns an expression which jumps (branches) to the expression ``dest``. ``ret`` is a special alias for jump that makes the disassembler stop disassembling. :param ExpressionIndex dest: the expression to jump to :param ILSourceLocation loc: location of returned expression :return

(self, dest: ExpressionIndex, loc: Optional['ILSourceLocation'] = None)

Source from the content-addressed store, hash-verified

5119 return self.expr(LowLevelILOperation.LLIL_TAILCALL, dest, source_location=loc)
5120
5121 def ret(self, dest: ExpressionIndex, loc: Optional['ILSourceLocation'] = None) -> ExpressionIndex:
5122 """
5123 ``ret`` returns an expression which jumps (branches) to the expression ``dest``. ``ret`` is a special alias for
5124 jump that makes the disassembler stop disassembling.
5125
5126 :param ExpressionIndex dest: the expression to jump to
5127 :param ILSourceLocation loc: location of returned expression
5128 :return: The expression ``jump(dest)``
5129 :rtype: ExpressionIndex
5130 """
5131 return self.expr(LowLevelILOperation.LLIL_RET, dest, source_location=loc)
5132
5133 def no_ret(self, loc: Optional['ILSourceLocation'] = None) -> ExpressionIndex:
5134 """

Callers 5

lift_instructionFunction · 0.45
instruction_llilMethod · 0.45
copy_expr_toMethod · 0.45
M6502Class · 0.45
rtiMethod · 0.45

Calls 1

exprMethod · 0.95

Tested by

no test coverage detected