``intrinsic`` return an intrinsic expression. :param IntrinsicType intrinsic: which intrinsic to call :param List[ExpressionIndex] params: parameters to intrinsic :param ILSourceLocation loc: location of returned expression :return: an intrinsic expression. :rtype: ExpressionIndex
( self, intrinsic: 'architecture.IntrinsicType', params: List[ExpressionIndex], loc: Optional['ILSourceLocation'] = None )
| 4145 | return self.expr(HighLevelILOperation.HLIL_TRAP, value, source_location=loc) |
| 4146 | |
| 4147 | def intrinsic( |
| 4148 | self, intrinsic: 'architecture.IntrinsicType', params: List[ExpressionIndex], |
| 4149 | loc: Optional['ILSourceLocation'] = None |
| 4150 | ): |
| 4151 | """ |
| 4152 | ``intrinsic`` return an intrinsic expression. |
| 4153 | |
| 4154 | :param IntrinsicType intrinsic: which intrinsic to call |
| 4155 | :param List[ExpressionIndex] params: parameters to intrinsic |
| 4156 | :param ILSourceLocation loc: location of returned expression |
| 4157 | :return: an intrinsic expression. |
| 4158 | :rtype: ExpressionIndex |
| 4159 | """ |
| 4160 | return self.expr( |
| 4161 | HighLevelILOperation.HLIL_INTRINSIC, |
| 4162 | self.arch.get_intrinsic_index(intrinsic), |
| 4163 | len(params), |
| 4164 | self.add_operand_list(params), |
| 4165 | size=0, |
| 4166 | source_location=loc |
| 4167 | ) |
| 4168 | |
| 4169 | def undefined(self, loc: Optional['ILSourceLocation'] = None) -> ExpressionIndex: |
| 4170 | """ |
nothing calls this directly
no test coverage detected