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

I want to put some C++ code into Enclave to execute, but I find that C++ classes are not supported. What should I do?

Zhang__Huiqiang
Principiante
2.362 Vistas

I want to put some C++ code into Enclave to execute, but I find that C++ classes are not supported. What should I do?Does the Enclave only support c language? who can resolve my problem,thank you very much.

0 kudos
2 Respuestas
Scott_R_Intel
Moderador
2.362 Vistas

Hello.

C++ support inside enclaves is included with the SGX SDK, though there are limitations - some classes/features are not supported.  There's even a C++ sample included with the SDK (Cxx11SGXDemo).

Please see the "C++ Language Support" section of either the Windows or Linux Developer Reference:

https://download.01.org/intel-sgx/linux-2.5/docs/Intel_SGX_Developer_Reference_Linux_2.5_Open_Source.pdf

https://software.intel.com/sites/default/files/managed/47/19/sgx-sdk-developer-reference-for-windows-os.pdf

Regards.

Scott

Zhang__Huiqiang
Principiante
2.362 Vistas

Hi,Scott, I 'll read it.thank you very much.

best regards

huiqiang

Responder