Kernel: Don't try to symbolicate user addresses with ksyms

That's just not gonna work. :^)
This commit is contained in:
Andreas Kling 2021-02-03 11:08:23 +01:00
parent e1236dac3e
commit ac59903c89
Notes: sideshowbarker 2024-07-18 22:36:37 +09:00

View file

@ -1003,7 +1003,7 @@ String Thread::backtrace_impl()
ProcessPagingScope paging_scope(process);
for (auto& frame : stack_trace) {
if (is_user_range(VirtualAddress(frame), sizeof(FlatPtr) * 2)) {
recognized_symbols.append({ frame, symbolicate_kernel_address(frame) });
recognized_symbols.append({ frame });
} else {
recognized_symbols.append({ frame, symbolicate_kernel_address(frame) });
}