Panic handler for use in SGX enclaves
The panic handler will redirect to the SGX SDK abort()
method to mark the
enclave as crashed.
log
: Log panic messages during panic handling. The panic messages will be
directed to the host via
mc-sgx-io::stderrwriteall.