From a9444ec5e3b4014da2fd3390bb3636b995f61535 Mon Sep 17 00:00:00 2001 From: apio Date: Sat, 24 Sep 2022 21:31:03 +0200 Subject: [PATCH] Provide a default symbol for get_symbol_name --- kernel/src/trace/Resolve.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/src/trace/Resolve.cpp b/kernel/src/trace/Resolve.cpp index 23e1f0cb..38abe134 100644 --- a/kernel/src/trace/Resolve.cpp +++ b/kernel/src/trace/Resolve.cpp @@ -35,4 +35,5 @@ void get_symbol_name(uintptr_t address, char* buffer) } address--; } + strncpy(buffer, "(no symbol)", 12); } \ No newline at end of file