``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 )
| 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], |
nothing calls this directly
no test coverage detected