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)
- Host: GitHub
- URL: https://github.com/refi64/unmangler
- Owner: refi64
- License: mit
- Created: 2015-05-22T00:40:48.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-08-31T16:46:33.000Z (almost 11 years ago)
- Last Synced: 2023-06-08T11:01:17.618Z (about 3 years ago)
- Language: C++
- Size: 136 KB
- Stars: 21
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
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