rizinorg / rz-libdemangle

Rizin Library to demangle symbols
7 stars 6 forks source link

C++: Failure to demangle `__ZNKSt3__19nullptr_tcvPT_IKcEEv` #50

Open XVilka opened 1 year ago

XVilka commented 1 year ago
[0x1000033e0]> is~nullptr
23  0x00002100 0x100002100 LOCAL  FUNC 0        std::__get_nullptr_t()
24  0x00002130 0x100002130 LOCAL  FUNC 0        nullptr_tcvPT_IcEEv::__ZNKSt3(void)
27  0x00002360 0x100002360 LOCAL  FUNC 0        std::string::string<std::nullptr_t>(char const*)
33  0x00003680 0x100003680 LOCAL  FUNC 0        nullptr_tcvPT_IKcEE::__ZNKSt3(void)

Here with bin.demangle=false:

is~nullptr
23  0x00002100 0x100002100 LOCAL  FUNC 0        __ZNSt3__1L15__get_nullptr_tEv
24  0x00002130 0x100002130 LOCAL  FUNC 0        __ZNKSt3__19nullptr_tcvPT_IcEEv
27  0x00002360 0x100002360 LOCAL  FUNC 0        __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC1INS_9nullptr_tEEEPKc
33  0x00003680 0x100003680 LOCAL  FUNC 0        __ZNKSt3__19nullptr_tcvPT_IKcEEv
35  0x000036b0 0x1000036b0 LOCAL  FUNC 0        __ZNSt3__19nullptr_tC1EMNS0_5__natEi
36  0x000036e0 0x1000036e0 LOCAL  FUNC 0        __ZNSt3__19nullptr_tC2EMNS0_5__natEi
51  0x00003960 0x100003960 LOCAL  FUNC 0        __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2INS_9nullptr_tEEEPKc