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

SGX-GDB forces step-into inside enclave when AEP points to instructions differ from ERESUME

Nguyen__Minh
Beginner
429 Views

Hi,

I need to add more logic at the AEP. However, I found that sgx-gdb does not recognize "ni" command when AEP points to an instruction that is not ERESUME.

For example, if my AEP points to a NOP, followed by an ERESUME. Then, for every single step inside enclave, sgx-gdb always executes "si" regardless of my "ni" command through the sgx-gdb interface. Is there a way to fix this issue?

Best regards,

Minh

 

0 Kudos
0 Replies
Reply