``system_call`` returns an expression which performs a system call with the parameters defined in ``params`` returning values in the variables in ``output``. :param List['variable.Variable'] output: output variables :param List[ExpressionIndex] params: parameter variables :param ILSource
( self, output: List['variable.Variable'], params: List[ExpressionIndex], loc: Optional['ILSourceLocation'] = None )
| 4448 | ) |
| 4449 | |
| 4450 | def system_call( |
| 4451 | self, output: List['variable.Variable'], params: List[ExpressionIndex], |
| 4452 | loc: Optional['ILSourceLocation'] = None |
| 4453 | ) -> ExpressionIndex: |
| 4454 | """ |
| 4455 | ``system_call`` returns an expression which performs a system call |
| 4456 | with the parameters defined in ``params`` returning values in the variables in ``output``. |
| 4457 | |
| 4458 | :param List['variable.Variable'] output: output variables |
| 4459 | :param List[ExpressionIndex] params: parameter variables |
| 4460 | :param ILSourceLocation loc: location of returned expression |
| 4461 | :return: The expression ``output = syscall(dest, params...)`` |
| 4462 | :rtype: ExpressionIndex |
| 4463 | """ |
| 4464 | return self.expr( |
| 4465 | MediumLevelILOperation.MLIL_SYSCALL, |
| 4466 | len(output), |
| 4467 | self.add_variable_list(output), |
| 4468 | len(params), |
| 4469 | self.add_operand_list(params), |
| 4470 | size=0, |
| 4471 | source_location=loc |
| 4472 | ) |
| 4473 | |
| 4474 | def system_call_untyped( |
| 4475 | self, output: List['variable.Variable'], params: List[ExpressionIndex], |
nothing calls this directly
no test coverage detected