C++Filt is a utility that ships with GNU Binutils. It can be applied on mangled symbols to recover back the demangled symbol. This can be useful to recognize the original class method name and signature.
There are two ways in which this tool can be used:
- To demangle a symbol directly:
$ c++filt _ZNK8KxVectorI6DlAtomjEixEj KxVector<DlAtom, unsigned int>::operator(unsigned int) const
- To demangle the mangled output of another tool by piping it in. For example, I use it on the mangled symbols output by the symtree tool:
$ symtree foo | c++filt
Tried with: GNU Binutils 2.24 and Ubuntu 14.04