Questions tagged [demangler]
38 questions
0
votes
0 answers
using c++filt from inside c++ program
Gcc compilers build c++filt during installation. So all the source is "somewhere" available to use it from own progs.
What I want to achieve:
I read some elf files and get also the symbols, no problem. For c++ generated elf files, I see the mangled…

Klaus
- 24,205
- 7
- 58
- 113
0
votes
1 answer
How to interpret @abc(01) in dynamic symbol name of an .so ELF formatted file?
I have two very similar .so files. Using readelf --syms --wide on them I receive...
... for the first:
631: 0000000000000000 0 FUNC GLOBAL DEFAULT UND __cxa_guard_acquire@CXXABI_1.3 (18)
666: 0000000000000000 0 FUNC GLOBAL DEFAULT …

gebbissimo
- 2,137
- 2
- 25
- 35
0
votes
2 answers
Demangle all c++ symbols in a txt file using SED, ECHO and C++FILT
Consider an input file that has the below content:
RANDOM CONTENTS1
FN:4,_Z1fv
FN:5,_Z1gv
RANDOM CONTENTS2
Need to search for the mangled symbols in the input txt file and replace them with their demangled names, and print it as output like…
0
votes
0 answers
Is it possible to get the function name from the mangled string
This question is a continuation of the following question, where a code to demangle a function-name given by the backtrace function is presented.
I wonder whether there is a way to get the name and the namespaces of a callable object. Here we…

Lezkus
- 160
- 1
- 12
0
votes
0 answers
C++ mangle names in dll and in using this dll project don't matched
I'm trying to use some lib and dll in my Visual C++ (2015, OS - Windows8x64) MFC Win32 project. This lib is old, from 2005. And in my project I recieve unresolved external symbol errors on some dll's functions calling. So I made a little dumpbin on…

Nika_Rika
- 613
- 2
- 6
- 29
0
votes
0 answers
A way to determine type of derived class with minimum code in c++
I have a class (Say A) with many subclasses and 4 level inheritance. I have wrote function type in Base class to determine the type of class as below:
const string A::type() const {
int status;
const char * realName;
string name;
…

Govan
- 2,079
- 4
- 31
- 53
0
votes
2 answers
D tool ddemangle.d doesn't change output from DMD+GNU ld linking Errors
I'm trying to demangle my linking errors such as
dmd -debug -gc -unittest -D -Dd/home/per/.emacs.d/auto-builds/dmd/Debug-Boundscheck-Unittest/home/per/Work/cognia/ -w ~/Work/cognia/t_geometry.d…

Nordlöw
- 11,838
- 10
- 52
- 99
-2
votes
1 answer
unmangling a URI with '•' instead of '.'
I use a forum that has a policy against direct commercial links, so what I often do is to mangle it so it remains readable but requires manual copy/paste/edit in order to work. Instead of www.example.com I will use www•example•com . The SO post…

RJVB
- 698
- 8
- 18