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

EDBGRD cannot read TCS page for enclave in debug mode.

Pushkar_C_
Beginner
489 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
489 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).

0 Kudos
Pushkar_C_
Beginner
489 Views
0 Kudos
Reply