Open
Description
If an enclave is loaded with sgx_create_enclave_from_buffer_ex
, then the sgx-gdb doesn't work. We get a Python exception every time the gdb extension script is called:
Python Exception <class 'gdb.error'> No symbol table is loaded. Use the "file" command.:
It appears that retrieve_enclave_info
assumes the enclave was loaded by file:
If an enclave is loaded from a buffer the debug_enclave_info_t
object won't have lpFileName
populated. Thus, the debugger extensions cannot load the symbols, and gdb gets quite sad.
Metadata
Metadata
Assignees
Labels
No labels