Open Enclave  0.18.0

◆ OE_SGX_PAGE_FAULT_P_FLAG

#define OE_SGX_PAGE_FAULT_P_FLAG   0x1

The following flags are used to interpret the error_code of the oe_exception_record_t struct when a PF or GP exception occurs.

Note that these exceptions are captured only with SGX2 CPU and the MISCSELCT[0] is set to 1. Page-protection violation flag 0 - The fault was caused by a non-present page. 1 - The fault was caused by a page-protection violation.