Skip to main content

Module debugging

Module debugging 

Source
Expand description

Functions here support the interaction with a debugger such as gdb.

The ftxsgx_get_baseaddress_from_pointer function is the main intended entrypoint, it can be called statically by gdb on a running ftxsgx-loader, or on your binary if this crate is used as a library.

Functions§

ftxsgx_get_baseaddress_from_pointer
This function should be accessible by gdb, even if compiled in –release mode. Same as with the Mutex function above, this needs to be a global/static because it will be called by gdb, globally, without parameters.
register_new_enclave
unregister_terminated_enclave