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

In SGX development, do you support inline functions in C++?

Zhang__Huiqiang
Beginner
273 Views

Now, I'm developing a project.The project is developed with C++,and I write inline functions in head file,but when i executed the inline function,the system reported the error:"Illegal instruction (core dumped)".I want to know,In SGX development, do you support inline functions in C++? and how can i resolve this problem?

0 Kudos
2 Replies
Francisco_C_Intel
273 Views

Inline functions are supported, but some instructions are not supported in SGX. 

Are you inlining C/C++ or assembly?

Have you determined which instruction is causing the error?

 

Thanks,

Francisco

 

Zhang__Huiqiang
Beginner
273 Views

Hi,@Francisco,The problem I have resolved,it not caused by Inlining function. thank you

Reply