From e934450736aafc7fb89c71f499db6ee9b5a7c8c1 Mon Sep 17 00:00:00 2001 From: Alexander Wagner Date: Tue, 14 Feb 2023 13:52:26 +0100 Subject: [PATCH] pt/call-stack: Log demangled function name --- pintool/call-stack.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pintool/call-stack.cpp b/pintool/call-stack.cpp index ccbfb32..876e3dd 100644 --- a/pintool/call-stack.cpp +++ b/pintool/call-stack.cpp @@ -290,7 +290,8 @@ void CallStack::emit_stack(UINT32 depth, vector &out, o << right << dec << setw(2) << id << "# "; o << "0x" << hex << setw(width) << setfill('0') << iter->target() << " "; - o << setw(20) << setfill(' ') << left << info.func_name; + o << setw(20) << setfill(' ') << left + << PIN_UndecorateSymbolName(info.func_name, UNDECORATION_COMPLETE); o << setw(20) << info.image_name; if (_source_location && info.file_name) { o << " at " << info.file_name << ":" << dec << info.line;