I would know whether it is possible to register a custom signal handler for AEX.
I saw that the SDK registers its own handler (https://github.com/intel/linux-sgx/blob/master/psw/urts/linux/sig_handler.cpp), but the game finishes there.
I know it is also possible to register a custom function for exceptions inside an enclave ( sgx_register_exception_handler() ), but that's not my case.
I have already read someone that asked something similar before me :) https://software.intel.com/en-us/forums/intel-software-guard-extensions-intel-sgx/topic/711181 but the conversation was not that proficuous.
However, my question stills. There's a way to register a custom signal handler for AEX without recompiling the SDK?
I would work on Windows, it might be quite painful reversing and hacking the SDK otherwise :)
Thanks in advance everybody for replying.