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

Method call

python/highlevelil.py:3874–3895  ·  view source on GitHub ↗

``call`` returns an expression which calls 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 returned expr

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

Source from the content-addressed store, hash-verified

3872 return self.expr(HighLevelILOperation.HLIL_LOW_PART, value, size=size, source_location=loc)
3873
3874 def call(
3875 self, dest: ExpressionIndex, params: List[ExpressionIndex],
3876 loc: Optional['ILSourceLocation'] = None
3877 ) -> ExpressionIndex:
3878 """
3879 ``call`` returns an expression which calls the function in the expression ``dest``
3880 with the parameters defined in ``params``
3881
3882 :param ExpressionIndex dest: the expression to call
3883 :param List[ExpressionIndex] params: parameter variables
3884 :param ILSourceLocation loc: location of returned expression
3885 :return: The expression ``call(dest, params...)``
3886 :rtype: ExpressionIndex
3887 """
3888 return self.expr(
3889 HighLevelILOperation.HLIL_CALL,
3890 dest,
3891 len(params),
3892 self.add_operand_list(params),
3893 size=0,
3894 source_location=loc
3895 )
3896
3897 def system_call(
3898 self, params: List[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