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

Hello! May I ask how to use sgx_emmt in Linux to moniter the enclave condition of real-time?

MoonHasSevenColor
575 Views

Hello,

 

  I want to find a tool monitoring the enclave usage condition in real-time, and find: https://community.intel.com/t5/Intel-Software-Guard-Extensions/Returning-pointer-from-ECALL/td-p/1119440, 

which is sgx_emmt, but I did not really understand the content. The example in the doc is for windows sgx which may has had a sgx_emmt executed program in the folder. May I ask how to use it in linux sgx? Or may you recommend a convenient tool to monitor the enclave condition? Thank you!

 

 

 

Best Regards,

Jin Xin

0 Kudos
2 Replies
Aznie_Intel
Moderator
537 Views

Hi Jin Xin,

  

Thanks for reaching out.

 

In Linux, the sgx_emmt is provided by sgx-gdb. The tool helps to measure the usage of protected memory by enclave at runtime. You may search for chapter "Enclave Memory Measurement Tool" in the Developer Reference for more details.

You may also refer to this Enclave Memory Measurement Tool for Intel® Software Guard Extensions (Intel® SGX) Enclaves.

 

Hope this helps.

 

 

Regards,

Aznie


0 Kudos
Peh_Intel
Moderator
454 Views

Hi Jin Xin,

 

This thread will no longer be monitored since we have provided answer.  If you need any additional information from Intel, please submit a new question.

 

 

Regards,

Peh

0 Kudos
Reply