demangler Questions

5

Solved

I have c++filt command to demangle a symbol, what is the tool to do the opposite and mangle a symbol name? This would be useful if I were to want to call dlsym() on a mangled C++ function name. I'...
Intolerable asked 4/7, 2012 at 21:28

1

Solved

_ZNSaIwEC1Ev _ZNSaIwEC2Ev These two C++ symbols differ but are demangled (using C++filt or similar utility) into the same form: std::allocator<wchar_t>::allocator() std::allocator<wchar...
Concuss asked 13/4, 2018 at 20:47

2

Solved

The documentation of abi::__cxa_demangle (such as https://gcc.gnu.org/onlinedocs/libstdc++/libstdc++-html-USERS-4.3/a01696.html) specifies that the second argument, char * output_buffer, need to be...
Sjambok asked 10/7, 2017 at 22:17

1

Solved

While compiling Swift on Mac machine, there is a dynamic library libswiftDemangle.dylib created. I need the dynamic library created on Linux machine as well, however, the dynamic library isn't crea...
Garfield asked 31/5, 2016 at 9:4

1

Solved

How do I set the gprof flags for the compiler and linker of GNU g++ in a CMakeLists.txt? My current approach, set(CMAKE_C_FLAGS_RELWITHDEBINFO "${CMAKE_C_FLAGS_RELWITHDEBINFO} -pg") set(CMAKE_CX...
Invasion asked 9/5, 2014 at 8:43

2

Solved

I am running a code on GCC C++ compiler, to output the type_info::name: #include <iostream> #include <typeinfo> using namespace std; class shape { protected: int color; public: v...
Rejoin asked 25/9, 2013 at 13:4

5

Solved

I'm getting a fairly long and confusing link error, and would love it if I could just paste it into some textbox on some website and have the names un-mangled for me. Does anyone know of suc...
Snyder asked 9/6, 2010 at 13:51
1

© 2022 - 2024 — McMap. All rights reserved.