October 18, 2006

Mangled up in blue

Just found out about a cool little GNU utility that takes a "mangled" C++ subroutine name and de-mangles it to show you its declaration. Kind of a specialized thing, but sometimes when you are debugging code and you see what the C++ compiler does to your function names, you are concerned. It's good to see there is some rhyme and reason to it.

$ c++filt _ZN8DiscTypeC1ENS_4TypeE
DiscType::DiscType(DiscType::Type)

GNU Binary Utilities: c++filt


del.icio.us | Digg it | Furl | Yahoo MyWeb | Create Social Bookmark Links


Posted by jdarnold at 01:59 PM | TrackBack
Comments

Post a comment

(Javascript required)

(Not published)

Comments: (you may use HTML tags for style)