Update crash handler to include exception address and symbol in trace output

This commit is contained in:
EnderIce2 2024-02-01 22:46:58 +02:00
parent fa6779b8c7
commit edd7e3bbc2
Signed by untrusted user who does not match committer: enderice2
GPG Key ID: EACC3AD603BAB4DD

View File

@ -844,7 +844,7 @@ namespace CrashHandler
SafeFunction inline bool Handle_x86_64(CHArchTrapFrame *Frame)
{
#ifdef a64
trace("Exception at %s",
trace("Exception at %#lx(%s)", Frame->rip,
KernelSymbolTable
? KernelSymbolTable->GetSymbol(Frame->rip)
: "No symbol");
@ -942,7 +942,7 @@ namespace CrashHandler
SafeFunction inline bool Handle_x86_32(CHArchTrapFrame *Frame)
{
#ifdef a32
trace("Exception at %s",
trace("Exception at %#lx(%s)", Frame->eip,
KernelSymbolTable
? KernelSymbolTable->GetSymbol(Frame->eip)
: "No symbol");