Check whether the given buffer is strictly outside the enclave.
Check whether the buffer given by the ptr and size parameters is strictly outside the enclave's memory. If so, return true. If any portion of the buffer lies within the enclave's memory, return false.
- Parameters
-
ptr | The pointer to buffer. |
size | The size of buffer. |
- Return values
-
true | The buffer is strictly outside the enclave. |
false | At least some part of the buffer is inside the enclave, or the arguments are invalid. For example, if ptr is null or size causes arithmetic operations to wrap. |