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

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

Zhang__Huiqiang
Beginner
604 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
604 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

 

0 Kudos
Zhang__Huiqiang
Beginner
604 Views

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

0 Kudos
Reply