Open Enclave
|
Called whenever an assertion fails. This internal function is called when the expression of the oe_assert() macro evaluates to zero. For example: oe_assert(x > y); If the expression evaluates to zero, this function is called with the string representation of the expression as well as the file, the line, and the function name where the macro was expanded. The __oe_assert_fail() function performs a host call to print a message and then calls oe_abort().
|