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

Method system_call

python/highlevelil.py:3897–3915  ·  view source on GitHub ↗

``system_call`` returns an expression which performs a system call with the parameters defined in ``params`` :param List[ExpressionIndex] params: parameter variables :param ILSourceLocation loc: location of returned expression :return: The expression ``syscall(dest, params...)`` :rtype

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

Source from the content-addressed store, hash-verified

3895 )
3896
3897 def system_call(
3898 self, params: List[ExpressionIndex], loc: Optional['ILSourceLocation'] = None
3899 ) -> ExpressionIndex:
3900 """
3901 ``system_call`` returns an expression which performs a system call
3902 with the parameters defined in ``params``
3903
3904 :param List[ExpressionIndex] params: parameter variables
3905 :param ILSourceLocation loc: location of returned expression
3906 :return: The expression ``syscall(dest, params...)``
3907 :rtype: ExpressionIndex
3908 """
3909 return self.expr(
3910 HighLevelILOperation.HLIL_SYSCALL,
3911 len(params),
3912 self.add_operand_list(params),
3913 size=0,
3914 source_location=loc
3915 )
3916
3917 def tailcall(
3918 self, dest: ExpressionIndex, params: List[ExpressionIndex],

Callers

nothing calls this directly

Calls 2

exprMethod · 0.95
add_operand_listMethod · 0.95

Tested by

no test coverage detected