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.

What is the effect of extern "C" in C++?

What exactly does putting extern "C" into C++ code do? For example: extern "C" { void foo(); }

c++ c linkage name-mangling extern-c
How do I list the symbols in a .so file

How do I list the symbols being exported from a .so file? If possible, I'd also like to know their …

c++ c gcc symbols name-mangling
Why do we need extern "C"{ #include <foo.h> } in C++?

Why do we need to use: extern "C" { #include <foo.h> } Specifically: When should we use it? What …

c++ linkage name-mangling extern-c
Scala: How do I dynamically instantiate an object and invoke a method using reflection?

In Scala, what's the best way to dynamically instantiate an object and invoke a method using reflection? I would like …

reflection scala name-mangling
Unmangling the result of std::type_info::name

I'm currently working on some logging code that supposed to - among other things - print information about the calling …

c++ gcc name-mangling
How can I see symbols of (C and C++) binary on linux?

Which tools do you guys use? How do demangle c++ symbols do be able to pass it to profiler tools, …

c++ c performance profiling name-mangling
How do I stop name-mangling of my DLL's exported function?

I'm trying to create a DLL that exports a function called "GetName". I'd like other code to be able to …

c++ c extern name-mangling
questions about name mangling in C++

I am trying to learn and understand name mangling in C++. Here are some questions: (1) From devx When a global …

c++ c compilation linker name-mangling
Getting mangled name from demangled name

Is there any way to get back the mangled name from demangled name in g++. For example , I have the …

c++ g++ name-mangling
What is name mangling, and how does it work?

Please explain what is name mangling, how it works, what problem it solves, and in which contexts and languages is …

language-agnostic name-mangling