Top "Name-mangling" questions

Name-mangling is a technique used by compilers (mainly C++ compilers) to encode information in strings that can be supported by linkers designed to handle C code.

C++ name mangling decoder for g++?

is there any C++ name-mangling decoder for g++?

c++ name-mangling name-decoration
GCC C++ Name mangling reference

Looking around, I see mostly questions about demangling C++ symbols rather than how to mangle them. Yes, one could invoke …

c++ gcc g++ name-mangling
Function to mangle/demangle functions

I have previously, here, been shown that C++ functions aren't easily represented in assembly. Now I am interested in reading …

c++ c function assembly name-mangling
Can objdump un-mangle names of C++ template functions?

I have a C++ object file that contains instantiations of some C++ template functions. The object file in question instantiates …

c++ gcc name-mangling objdump
stdcall name mangling using extern c and dllexport vs module definitions (msvc++)

I was trying to export a simple test function for a dll to work with an application (fyi: mIRC) that …

c++ visual-c++ dllexport name-mangling stdcall
Why can't C functions be name-mangled?

I had an interview recently and one question asked was what is the use of extern "C" in C++ code. …

c++ c name-mangling extern-c
How to make gdb show the original non-mangling function name on disassembly model?

void outputString(const char *str) { cout << "outputString(const char *str) : " << str << endl; } turns out …

gdb name-mangling disassembly
x64 DLL export function names

I am trying to port a 32-bit dll (and application) to 64-bit and I have managed to build it without …

c++ dll 64-bit name-mangling
Is there a way to suppress c++ name mangling?

I have a DLL that is written in C++ and I want to suppress the name mangling for a few …

c++ visual-studio winapi name-mangling
How to undecorate name from decorated name?

At a post of Raymond Chen, he seems to be able to know the function's undecorated name from the decorated …

c++ windows visual-studio name-mangling