Make the default exception handler deal with corrupted SP or PC registers,
by switching to the EL0 stack pointer for sync exceptions, and walking the
call stack even if PC is 0x0 or otherwise invalid.
Ard Biesheuvel (3):
ArmPkg/DefaultExceptionHandlerLib: add missing GUID to .inf
ArmPkg/DefaultExceptionHandlerLib: walk call stack unconditionally
ArmPkg/ArmExceptionLib: use EL0 stack for synchronous exceptions
ArmPkg/Library/ArmExceptionLib/AArch64/AArch64Exception.c | 17 +++-
ArmPkg/Library/ArmExceptionLib/AArch64/ExceptionSupport.S | 86 ++++++++++++--------
ArmPkg/Library/ArmExceptionLib/ArmExceptionLib.inf | 5 +-
ArmPkg/Library/DefaultExceptionHandlerLib/AArch64/DefaultExceptionHandler.c | 56 +++++++------
ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf | 3 +
ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLibBase.inf | 3 +
6 files changed, 107 insertions(+), 63 deletions(-)
--
2.7.4
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel