Heinrich Schuchardt b46f30a378 sandbox: add handler for exceptions
Add a handler for SIGILL, SIGBUS, SIGSEGV.

When an exception occurs print the program counter and the loaded
UEFI binaries and reset the system if CONFIG_SANDBOX_CRASH_RESET=y
or exit to the OS otherwise.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
2020-12-13 07:58:17 -07:00
..
2020-12-13 07:58:17 -07:00
2020-11-06 10:18:20 +08:00
2020-11-05 09:11:30 -07:00
2020-12-13 07:58:17 -07:00
2020-02-05 19:33:46 -07:00
2020-12-13 07:58:17 -07:00