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

Method tailcall

python/highlevelil.py:3917–3938  ·  view source on GitHub ↗

``tailcall`` returns an expression which tailcalls the function in the expression ``dest`` with the parameters defined in ``params`` :param ExpressionIndex dest: the expression to call :param List[ExpressionIndex] params: parameter variables :param ILSourceLocation loc: location of retur

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

Source from the content-addressed store, hash-verified

3915 )
3916
3917 def tailcall(
3918 self, dest: ExpressionIndex, params: List[ExpressionIndex],
3919 loc: Optional['ILSourceLocation'] = None
3920 ) -> ExpressionIndex:
3921 """
3922 ``tailcall`` returns an expression which tailcalls the function in the expression ``dest``
3923 with the parameters defined in ``params``
3924
3925 :param ExpressionIndex dest: the expression to call
3926 :param List[ExpressionIndex] params: parameter variables
3927 :param ILSourceLocation loc: location of returned expression
3928 :return: The expression ``tailcall(dest, params...)``
3929 :rtype: ExpressionIndex
3930 """
3931 return self.expr(
3932 HighLevelILOperation.HLIL_TAILCALL,
3933 dest,
3934 len(params),
3935 self.add_operand_list(params),
3936 size=0,
3937 source_location=loc
3938 )
3939
3940 def compare_equal(
3941 self, size: int, a: ExpressionIndex, b: ExpressionIndex, loc: Optional['ILSourceLocation'] = None

Callers

nothing calls this directly

Calls 2

exprMethod · 0.95
add_operand_listMethod · 0.95

Tested by

no test coverage detected