An open API service indexing awesome lists of open source software.

https://github.com/refi64/unmangler

A colorful C++ type name demangler (like c++filt, but fancier)
https://github.com/refi64/unmangler

Last synced: about 1 year ago
JSON representation

A colorful C++ type name demangler (like c++filt, but fancier)

Awesome Lists containing this project

README

          

unmangler
=========

unmangler is a tool to take those ugly type names that ``typeid`` outputs (like ``St6vectorIS_ISt4pairIiPcESaIS2_EESaIS4_EE``) and turns it into color-coded type names.

See, ``c++filt`` also decodes type names, but the output looks kind of like this:

.. image:: http://s5.postimg.org/k5bigu7rb/cppfilt.png

That's more readable...a little...

With unmangler, that turns into:

.. image:: http://s17.postimg.org/ccoxk6uf3/unmangler_c.png

That's better!

Building
********

You need `Fbuild `_ installed FROM GIT. Just run::

$ fbuild

Installing
**********

::

$ fbuild install

Usage
*****

Just run ``build/unmangler`` with the mangled name, and it will output a nice, color-coded representation, like::

build/unmangler St6vectorIS_ISt4pairIiPcESaIS2_EESaIS4_EE