radare/radare2 — pull request #1385 by montekki (2014-09-19 13:33:56+00:00)
Title: Fix cpp names demangling

Let's bring the demangling back!

```
[0x004009b0]> aa
[0x004009b0]> pdf@main
│ ; DATA XREF from 0x004009cd (unk)
╒ (fcn) sym.main 74
│ 0x00400a9d 55 push rbp
│ 0x00400a9e 4889e5 mov rbp, rsp
│ 0x00400aa1 4154 push r12
│ 0x00400aa3 53 push rbx
│ 0x00400aa4 4883ec10 sub rsp, 0x10
│ 0x00400aa8 bf08000000 mov edi, 0x8
│ 0x00400aad e8defeffff call sym.operatornew
│ sym.operatornew(unk, unk, unk)
│ 0x00400ab2 4889c3 mov rbx, rax
│ 0x00400ab5 4889df mov rdi, rbx
│ 0x00400ab8 e8fb000000 call sym.myClassInh::myClassInh
│ sym.myClassInh::myClassInh()
│ 0x00400abd 48895de8 mov [rbp-0x18], rbx
│ 0x00400ac1 488b45e8 mov rax, [rbp-0x18]
│ 0x00400ac5 488b00 mov rax, [rax]
│ 0x00400ac8 488b00 mov rax, [rax]
│ 0x00400acb 488b55e8 mov rdx, [rbp-0x18]
│ 0x00400acf 4889d7 mov rdi, rdx
│ 0x00400ad2 ffd0 call rax
│ 0x00000000() ; section..comment
│ 0x00400ad4 488b45e8 mov rax, [rbp-0x18]
│ 0x00400ad8 4889c7 mov rdi, rax
│ 0x00400adb e820feffff call sym.operatordelete
│ sym.operatordelete()
│ 0x00400ae0 b800000000 mov eax, 0x0
╘ 0x00400ae5 eb16 jmp loc.00400afd
[0x004009b0]> pdf@sym.myClass
sym.myClassInh::myClassInh sym.myClassBase::myClassBase sym.myClassBase::a sym.myClassInh::a
[0x004009b0]> pdf@sym.myClass
sym.myClassInh::myClassInh sym.myClassBase::myClassBase sym.myClassBase::a sym.myClassInh::a
[0x004009b0]> pdf@sym.myClassInh::
sym.myClassInh::myClassInh sym.myClassInh::a
[0x004009b0]> pdf@sym.myClassInh::myClassInh
│ ; CALL XREF from 0x00400ab8 (unk)
╒ (fcn) sym.myClassInh::myClassInh 65
│ 0x00400bb8 55 push rbp
│ 0x00400bb9 4889e5 mov rbp, rsp
│ 0x00400bbc 4883ec10 sub rsp, 0x10
│ 0x00400bc0 48897df8 mov [rbp-0x8], rdi
│ 0x00400bc4 488b45f8 mov rax, [rbp-0x8]
│ 0x00400bc8 4889c7 mov rdi, rax
│ 0x00400bcb e888ffffff call sym.myClassBase::myClassBase
│ sym.myClassBase::myClassBase(unk)
│ 0x00400bd0 488b45f8 mov rax, [rbp-0x8]
│ 0x00400bd4 48c700200d4. mov qword [rax], 0x400d20
│ 0x00400bdb bedc0c4000 mov esi, str.myClassInh constructor ; str.myClassInh constructor
│ 0x00400be0 bf00216000 mov edi, sym.std::cout ; sym.std::cout
│ 0x00400be5 e866fdffff call sym.std::operator<<>
│ sym.std::operator<<>()
│ 0x00400bea be70094000 mov esi, sym.std::endl> ; sym.std::endl>
│ 0x00400bef 4889c7 mov rdi, rax
│ 0x00400bf2 e869fdffff call sym.std::ostream::operator<<
│ sym.std::ostream::operator<<()
│ 0x00400bf7 c9 leave
╘ 0x00400bf8 c3 ret
[0x004009b0]>

```