``intrinsic`` return an intrinsic expression. :param List[Variable] outputs: list of output variables :param IntrinsicType intrinsic: which intrinsic to call :param List[ExpressionIndex] params: parameters to intrinsic :param ILSourceLocation loc: location of returned expression :retur
( self, outputs: List['variable.Variable'], intrinsic: 'architecture.IntrinsicType', params: List[ExpressionIndex], loc: Optional['ILSourceLocation'] = None )
| 4803 | return self.expr(MediumLevelILOperation.MLIL_TRAP, value, source_location=loc) |
| 4804 | |
| 4805 | def intrinsic( |
| 4806 | self, outputs: List['variable.Variable'], intrinsic: 'architecture.IntrinsicType', |
| 4807 | params: List[ExpressionIndex], loc: Optional['ILSourceLocation'] = None |
| 4808 | ): |
| 4809 | """ |
| 4810 | ``intrinsic`` return an intrinsic expression. |
| 4811 | |
| 4812 | :param List[Variable] outputs: list of output variables |
| 4813 | :param IntrinsicType intrinsic: which intrinsic to call |
| 4814 | :param List[ExpressionIndex] params: parameters to intrinsic |
| 4815 | :param ILSourceLocation loc: location of returned expression |
| 4816 | :return: an intrinsic expression. |
| 4817 | :rtype: ExpressionIndex |
| 4818 | """ |
| 4819 | return self.expr( |
| 4820 | MediumLevelILOperation.MLIL_INTRINSIC, |
| 4821 | len(outputs), |
| 4822 | self.add_variable_list(outputs), |
| 4823 | self.arch.get_intrinsic_index(intrinsic), |
| 4824 | len(params), |
| 4825 | self.add_operand_list(params), |
| 4826 | size=0, |
| 4827 | source_location=loc |
| 4828 | ) |
| 4829 | |
| 4830 | def undefined(self, loc: Optional['ILSourceLocation'] = None) -> ExpressionIndex: |
| 4831 | """ |
nothing calls this directly
no test coverage detected