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

EDBGRD cannot read TCS page for enclave in debug mode.

Pushkar_C_
Beginner
113 Views

I have an enclave in debug mode.  I can use EDBGRD to read entire memory range of enclave but not the TCS page.  How do I read the TCS page for enclave in debug mode?

0 Kudos
2 Replies
Juan_d_Intel
Employee
113 Views

You may use the EDBGRD instruction to read any page that belongs to an enclave that is in debug mode.
RCX must point to the TCS you want to read, but you cannot read beyond the architectural size of the TCS (72 bytes).

Pushkar_C_
Beginner
113 Views
Reply