Intel® Software Guard Extensions (Intel® SGX)
Discussion board focused on hardware-based isolation and memory encryption to provide extended code protection in solutions.

Memory Allocation inside the enclave

Sam5
New Contributor I
624 Views

Hi,

Is it possible to allocate executable memory using memory map fuction inside an enclave during run time?

-Thanks

0 Kudos
1 Solution
Surenthar_S_Intel
624 Views

Hi Sam,

I think the short answer is no. More details regarding a similar question (loader program in an enclave) are here:

https://software.intel.com/en-us/forums/intel-software-guard-extensions-intel-sgx/topic/624878

If you are using Linux, then similar considerations apply to ELF .so files (instead of PE .dll files).

-Surenthar

View solution in original post

0 Kudos
2 Replies
Surenthar_S_Intel
625 Views

Hi Sam,

I think the short answer is no. More details regarding a similar question (loader program in an enclave) are here:

https://software.intel.com/en-us/forums/intel-software-guard-extensions-intel-sgx/topic/624878

If you are using Linux, then similar considerations apply to ELF .so files (instead of PE .dll files).

-Surenthar

0 Kudos
Sam5
New Contributor I
624 Views

Hi Surenthar,

Thanks for pointing this to me. That was precisely the information that I was seeking.

-Sam

0 Kudos
Reply