Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Nguyen__Minh
Beginner
95 Views

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

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