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

What is the Maximum Memory Size of SSA Frame

Sam5
New Contributor I
713 Views

Hi,

I need to know maximum memory size of SSA frame and how many exception will handled inside SSA frame.

- Thanks

0 Kudos
5 Replies
Juan_d_Intel
Employee
713 Views

Currently the SSA frame size is 1 page. Enclaves built with the SGX SDK have 2 SSA frames per thread context to support handling one asynchronous exception, i.e. nested exceptions aren't supported.

0 Kudos
Sam5
New Contributor I
713 Views

Hi Juan,

Nested exception is not supported in SGX?

But i read the user guide in that they mentioned SGX supports nesting of exceptions.

Could you please clarify my doubt whether my understanding is correct or not..

-Thanks

0 Kudos
Juan_d_Intel
Employee
713 Views

Nested exceptions are not supported in the Windows SGX SDK, although they could be supported in SGX.

Could you provide a reference (version of the document and page)? Thanks.

0 Kudos
Sam5
New Contributor I
713 Views

Hi Juan,

PFA for your reference. Page no:78

 

0 Kudos
Juan_d_Intel
Employee
713 Views

Yes, that reference matches my comment. SGX could support nested exceptions if multiple SSA frames are defined. Currently the SGX SDK Windows defines 2 SSA frames and doesn't support nesting exceptions. On the other hand, the Linux SDK does support nested exceptions.

0 Kudos
Reply