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

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

Nguyen__Minh
Beginner
190 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