StackTracer: only show kernel addresses for now, until there are more checks

This commit is contained in:
apio 2022-10-18 17:14:09 +02:00
parent 48d68a3e31
commit bdf1bb15a1

View File

@ -24,7 +24,7 @@ typedef struct stackframe
void StackTracer::trace()
{
stackframe* frame = (stackframe*)m_base_pointer;
while (frame && frame->instruction)
while (frame && frame->instruction && Memory::is_kernel_address(frame->instruction))
{
char symbol_name[512];
get_symbol_name(frame->instruction - sizeof(uintptr_t), symbol_name, sizeof(symbol_name));