Intel® Software Guard Extensions (Intel® SGX)
Use hardware-based isolation and memory encryption to provide more code protection in your solutions.

Memory Allocation inside the enclave

Sam5
New Contributor I
320 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
320 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

2 Replies
Surenthar_S_Intel
321 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

Sam5
New Contributor I
320 Views

Hi Surenthar,

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

-Sam

Reply