Skip to main content

is_enclave_range

Function is_enclave_range 

Source
pub fn is_enclave_range(p: *const u8, len: usize) -> bool
🔬This is a nightly-only experimental API. (sgx_platform #56975)
Available on Fortanix and SGX only.
Expand description

Returns true if the specified memory range is in the enclave.

For safety, this function also checks whether the range given overflows, returning false if so.