📄 demangle.exp
字号:
test_demangling "gnu: bar__C3fooPCv" \ "foo::bar\[(\]+(const void|void const) *\[*\]+\[)\]+ const" test_demangling_exact "gnu: __eq__3fooRT0" "foo::operator==(foo &)" test_demangling "gnu: __eq__3fooRC3foo" \ "foo::operator==\[(\]+(const foo|foo const) &\[)\]+" test_demangling_exact "gnu: __eq__C3fooR3foo" "foo::operator==(foo &) const" test_demangling "gnu: __eq__C3fooRT0" \ "foo::operator==\[(\]+(const foo|foo const) &\[)\]+ const" test_demangling_exact "gnu: elem__t6vector1Zdi" "vector<double>::elem(int)" test_demangling_exact "gnu: elem__t6vector1Zii" "vector<int>::elem(int)" test_demangling_exact "gnu: __t6vector1Zdi" "vector<double>::vector(int)" test_demangling_exact "gnu: __t6vector1Zii" "vector<int>::vector(int)" test_demangling_exact "gnu: _\$_t6vector1Zdi" "vector<double>::~vector(int)" test_demangling_exact "gnu: _\$_t6vector1Zii" "vector<int>::~vector(int)" test_demangling_exact "gnu: __nw__t2T11ZcUi" "T1<char>::operator new(unsigned int)" test_demangling_exact "gnu: __nw__t2T11Z1tUi" "T1<t>::operator new(unsigned int)" test_demangling_exact "gnu: __dl__t2T11ZcPv" "T1<char>::operator delete(void *)" test_demangling_exact "gnu: __dl__t2T11Z1tPv" "T1<t>::operator delete(void *)" test_demangling_exact "gnu: __t2T11Zci" "T1<char>::T1(int)" test_demangling_exact "gnu: __t2T11Zc" "T1<char>::T1(void)" test_demangling_exact "gnu: __t2T11Z1ti" "T1<t>::T1(int)" test_demangling_exact "gnu: __t2T11Z1t" "T1<t>::T1(void)" test_demangling_exact "gnu: __Q2t4List1Z10VHDLEntity3Pix" \ "List<VHDLEntity>::Pix::Pix(void)" test_demangling_exact "gnu: __Q2t4List1Z10VHDLEntity3PixPQ2t4List1Z10VHDLEntity7element" \ "List<VHDLEntity>::Pix::Pix(List<VHDLEntity>::element *)" test_demangling_exact "gnu: __Q2t4List1Z10VHDLEntity3PixRCQ2t4List1Z10VHDLEntity3Pix" \ "List<VHDLEntity>::Pix::Pix(List<VHDLEntity>::Pix const &)" test_demangling_exact "gnu: __Q2t4List1Z10VHDLEntity7elementRC10VHDLEntityPT0" \ "List<VHDLEntity>::element::element(VHDLEntity const &, List<VHDLEntity>::element *)" test_demangling_exact "gnu: __Q2t4List1Z10VHDLEntity7elementRCQ2t4List1Z10VHDLEntity7element" \ "List<VHDLEntity>::element::element(List<VHDLEntity>::element const &)" test_demangling_exact "gnu: __cl__C11VHDLLibraryGt4PixX3Z11VHDLLibraryZ14VHDLLibraryRepZt4List1Z10VHDLEntity" \ "VHDLLibrary::operator()(PixX<VHDLLibrary, VHDLLibraryRep, List<VHDLEntity> >) const" test_demangling_exact "gnu: __cl__Ct4List1Z10VHDLEntityRCQ2t4List1Z10VHDLEntity3Pix" \ "List<VHDLEntity>::operator()(List<VHDLEntity>::Pix const &) const" test_demangling_exact "gnu: __ne__FPvRCQ2t4List1Z10VHDLEntity3Pix" \ "operator!=(void *, List<VHDLEntity>::Pix const &)" test_demangling_exact "gnu: __ne__FPvRCt4PixX3Z11VHDLLibraryZ14VHDLLibraryRepZt4List1Z10VHDLEntity" \ "operator!=(void *, PixX<VHDLLibrary, VHDLLibraryRep, List<VHDLEntity> > const &)" test_demangling_exact "gnu: __t4List1Z10VHDLEntityRCt4List1Z10VHDLEntity" \ "List<VHDLEntity>::List(List<VHDLEntity> const &)" test_demangling_exact "gnu: __t4PixX3Z11VHDLLibraryZ14VHDLLibraryRepZt4List1Z10VHDLEntity" \ "PixX<VHDLLibrary, VHDLLibraryRep, List<VHDLEntity> >::PixX(void)" test_demangling_exact "gnu: __t4PixX3Z11VHDLLibraryZ14VHDLLibraryRepZt4List1Z10VHDLEntityP14VHDLLibraryRepGQ2t4List1Z10VHDLEntity3Pix" \ "PixX<VHDLLibrary, VHDLLibraryRep, List<VHDLEntity> >::PixX(VHDLLibraryRep *, List<VHDLEntity>::Pix)" test_demangling_exact "gnu: __t4PixX3Z11VHDLLibraryZ14VHDLLibraryRepZt4List1Z10VHDLEntityRCt4PixX3Z11VHDLLibraryZ14VHDLLibraryRepZt4List1Z10VHDLEntity" \ "PixX<VHDLLibrary, VHDLLibraryRep, List<VHDLEntity> >::PixX(PixX<VHDLLibrary, VHDLLibraryRep, List<VHDLEntity> > const &)" test_demangling_exact "gnu: nextE__C11VHDLLibraryRt4PixX3Z11VHDLLibraryZ14VHDLLibraryRepZt4List1Z10VHDLEntity" \ "VHDLLibrary::nextE(PixX<VHDLLibrary, VHDLLibraryRep, List<VHDLEntity> > &) const" test_demangling_exact "gnu: next__Ct4List1Z10VHDLEntityRQ2t4List1Z10VHDLEntity3Pix" \ "List<VHDLEntity>::next(List<VHDLEntity>::Pix &) const" test_demangling_exact "gnu: _GLOBAL_\$D\$set" "global destructors keyed to set" test_demangling_exact "gnu: _GLOBAL_\$I\$set" "global constructors keyed to set" test_demangling_exact "gnu: __as__t5ListS1ZUiRCt5ListS1ZUi" \ "ListS<unsigned int>::operator=(ListS<unsigned int> const &)" test_demangling_exact "gnu: __cl__Ct5ListS1ZUiRCQ2t5ListS1ZUi3Vix" \ "ListS<unsigned int>::operator()(ListS<unsigned int>::Vix const &) const" test_demangling_exact "gnu: __cl__Ct5SetLS1ZUiRCQ2t5SetLS1ZUi3Vix" \ "SetLS<unsigned int>::operator()(SetLS<unsigned int>::Vix const &) const" test_demangling_exact "gnu: __t10ListS_link1ZUiRCUiPT0" \ "ListS_link<unsigned int>::ListS_link(unsigned int const &, ListS_link<unsigned int> *)" test_demangling_exact "gnu: __t10ListS_link1ZUiRCt10ListS_link1ZUi" \ "ListS_link<unsigned int>::ListS_link(ListS_link<unsigned int> const &)" test_demangling_exact "gnu: __t5ListS1ZUiRCt5ListS1ZUi" \ "ListS<unsigned int>::ListS(ListS<unsigned int> const &)" test_demangling_exact "gnu: next__Ct5ListS1ZUiRQ2t5ListS1ZUi3Vix" \ "ListS<unsigned int>::next(ListS<unsigned int>::Vix &) const" test_demangling_exact "gnu: __ne__FPvRCQ2t5SetLS1ZUi3Vix" \ "operator!=(void *, SetLS<unsigned int>::Vix const &)" test_demangling_exact "gnu: __t8ListElem1Z5LabelRt4List1Z5Label" \ "ListElem<Label>::ListElem(List<Label> &)" test_demangling_exact "gnu: __t8BDDHookV1ZPcRCPc" \ "BDDHookV<char *>::BDDHookV(char *const &)" test_demangling_exact "gnu: _vt\$t8BDDHookV1ZPc" "BDDHookV<char *> virtual table" test_demangling_exact "gnu: __ne__FPvRCQ211BDDFunction4VixB" \ "operator!=(void *, BDDFunction::VixB const &)" test_demangling_exact "gnu: __eq__FPvRCQ211BDDFunction4VixB" \ "operator==(void *, BDDFunction::VixB const &)" test_demangling_exact "gnu: relativeId__CQ36T_phi210T_preserve8FPC_nextRCQ26T_phi210T_preserveRC10Parameters" \ "T_phi2::T_preserve::FPC_next::relativeId(T_phi2::T_preserve const &, Parameters const &) const" test_demangling_exact "gnu: _Utf390_1__1_9223372036854775807__9223372036854775" \ "Can't demangle \"_Utf390_1__1_9223372036854775807__9223372036854775\"" test_demangling_exact "gnu: foo__I40" "foo(int64_t)" test_demangling_exact "gnu: foo__I_200_" "foo(int512_t)" test_demangling_exact "gnu: foo__I_200" "Can't demangle \"foo__I_200\"" ## Buffer overrun. Should make GDB crash. Woo hoo! test_demangling_exact "gnu: foo__I_4000000000000000000000000000000000000000000000000000000000000000000000000" "Can't demangle \"foo__I_4000000000000000000000000000000000000000000000000000000000000000000000000\"" ## 1999-04-19: "Fix from Dale Hawkins". Shouldn't segfault. # Accept even a dubious demangling; the string is ambiguous. send_gdb "maintenance demangle __thunk_64__0RL__list__Q29CosNaming20_proxy_NamingContextUlRPt25_CORBA_Unbounded_Sequence1ZQ29CosNaming7BindingRPQ29CosNaming15BindingIterator\n" gdb_expect { -re "virtual function thunk \\(delta:-64\\) for CosNaming::_proxy_NamingContext::_0RL__list\\(unsigned long, _CORBA_Unbounded_Sequence<CosNaming::Binding> \\*\\&, CosNaming::BindingIterator \\*\\&\\)\r\n$gdb_prompt $" { pass "gnu: __thunk_64__0RL__list__Q29CosNaming20_proxy_NamingContextUlRPt25_CORBA_Unbounded_Sequence1ZQ29CosNaming7BindingRPQ29CosNaming15BindingIterator" } -re ".*Can't demangle \"__thunk_64__0RL__list__Q29CosNaming20_proxy_NamingContextUlRPt25_CORBA_Unbounded_Sequence1ZQ29CosNaming7BindingRPQ29CosNaming15BindingIterator\"\r\n$gdb_prompt $" { pass "gnu: __thunk_64__0RL__list__Q29CosNaming20_proxy_NamingContextUlRPt25_CORBA_Unbounded_Sequence1ZQ29CosNaming7BindingRPQ29CosNaming15BindingIterator" } -re ".*$gdb_prompt $" { fail "gnu: __thunk_64__0RL__list__Q29CosNaming20_proxy_NamingContextUlRPt25_CORBA_Unbounded_Sequence1ZQ29CosNaming7BindingRPQ29CosNaming15BindingIterator" } timeout { fail "gnu: __thunk_64__0RL__list__Q29CosNaming20_proxy_NamingContextUlRPt25_CORBA_Unbounded_Sequence1ZQ29CosNaming7BindingRPQ29CosNaming15BindingIterator (timeout)" } }}## Test lucid style name demangling#proc test_lucid_style_demangling {} { test_demangling_exact "lucid: WS__FR7istream" "WS(istream &)" test_demangling_exact "lucid: __aa__3fooFR3foo" "foo::operator&&(foo &)" test_demangling_exact "lucid: __aad__3fooFR3foo" "foo::operator&=(foo &)" test_demangling_exact "lucid: __ad__3fooFR3foo" "foo::operator&(foo &)" test_demangling_exact "lucid: __adv__3fooFR3foo" "foo::operator/=(foo &)" test_demangling_exact "lucid: __adv__7complexF7complex" "complex::operator/=(complex)" test_demangling_exact "lucid: __aer__3fooFR3foo" "foo::operator^=(foo &)" test_demangling_exact "lucid: __als__3fooFR3foo" "foo::operator<<=(foo &)" test_demangling_exact "lucid: __amd__3fooFR3foo" "foo::operator%=(foo &)" test_demangling_exact "lucid: __ami__3fooFR3foo" "foo::operator-=(foo &)" test_demangling_exact "lucid: __amu__3fooFR3foo" "foo::operator*=(foo &)" test_demangling_exact "lucid: __amu__7complexF7complex" "complex::operator*=(complex)" test_demangling_exact "lucid: __aor__3fooFR3foo" "foo::operator|=(foo &)" test_demangling_exact "lucid: __apl__3fooFR3foo" "foo::operator+=(foo &)" test_demangling_exact "lucid: __ars__3fooFR3foo" "foo::operator>>=(foo &)" test_demangling_exact "lucid: __as__18istream_withassignFP9streambuf" "istream_withassign::operator=(streambuf *)" test_demangling_exact "lucid: __as__18istream_withassignFR7istream" "istream_withassign::operator=(istream &)" test_demangling_exact "lucid: __as__3fooFR3foo" "foo::operator=(foo &)" test_demangling_exact "lucid: __as__3iosFR3ios" "ios::operator=(ios &)" test_demangling_exact "lucid: __cl__3fooFR3foo" "foo::operator()(foo &)" test_demangling_exact "lucid: __cm__3fooFR3foo" "foo::operator, (foo &)" test_demangling_exact "lucid: __co__3fooFv" "foo::operator~(void)" test_demangling_exact "lucid: __ct__10istrstreamFPc" "istrstream::istrstream(char *)" test_demangling_exact "lucid: __ct__10istrstreamFPci" "istrstream::istrstream(char *, int)" test_demangling_exact "lucid: __ct__10ostrstreamFPciT2" "ostrstream::ostrstream(char *, int, int)" test_demangling_exact "lucid: __ct__10ostrstreamFv" "ostrstream::ostrstream(void)" test_demangling_exact "lucid: __ct__10smanip_intFPFR3iosi_R3iosi" "smanip_int::smanip_int(ios &(*)(ios &, int), int)" test_demangling "lucid: __ct__11c_exceptionFPcRC7complexT2" "c_exception::c_exception\[(\]+char \[*\]+, (const complex|complex const) &, (const complex|complex const) &\[)\]+" test_demangling "lucid: __ct__11fstreambaseFPCciT2" "fstreambase::fstreambase\[(\]+(const char|char const) \[*\]+, int, int\[)\]+" test_demangling_exact "lucid: __ct__11fstreambaseFi" "fstreambase::fstreambase(int)" test_demangling_exact "lucid: __ct__11fstreambaseFiPcT1" "fstreambase::fstreambase(int, char *, int)" test_demangling_exact "lucid: __ct__11fstreambaseFv" "fstreambase::fstreambase(void)" test_demangling_exact "lucid: __ct__11smanip_longFPFR3iosl_R3iosl" "smanip_long::smanip_long(ios &(*)(ios &, long), long)" test_demangling_exact "lucid: __ct__11stdiostreamFP4FILE" "stdiostream::stdiostream(FILE *)" test_demangling_exact "lucid: __ct__12strstreambufFPFl_PvPFPv_v" "strstreambuf::strstreambuf(void *(*)(long), void (*)(void *))" test_demangling_exact "lucid: __ct__12strstreambufFPUciT1" "strstreambuf::strstreambuf(unsigned char *, int, unsigned char *)" test_demangling_exact "lucid: __ct__12strstreambufFPciT1" "strstreambuf::strstreambuf(char *, int, char *)" test_demangling_exact "lucid: __ct__12strstreambufFi" "strstreambuf::strstreambuf(int)" test_demangling_exact "lucid: __ct__12strstreambufFv" "strstreambuf::strstreambuf(void)" test_demangling_exact "lucid: __ct__13strstreambaseFPciT1" "strstreambase::strstreambase(char *, int, char *)" test_demangling_exact "lucid: __ct__3fooFR3foo" "foo::foo(foo &)" test_demangling_exact "lucid: __ct__3fooFi" "foo::foo(int)" test_demangling_exact "lucid: __ct__3fooFiN31" "foo::foo(int, int, int, int)" test_demangling "lucid: __ct__3fooFiPCc" \ "foo::foo\[(\]+int, (const char|char const) \[*\]+\[)\]+" test_demangling_exact "lucid: __ct__3fooFiR3fooT1T2T1T2" "foo::foo(int, foo &, int, foo &, int, foo &)" test_demangling_exact "lucid: __ct__3iosFP9streambuf" "ios::ios(streambuf *)" test_demangling_exact "lucid: __ct__7filebufFiPcT1" "filebuf::filebuf(int, char *, int)" test_demangling "lucid: __ct__7fstreamFPCciT2" \ "fstream::fstream\[(\]+(const char|char const) \[*\]+, int, int\[)\]+" test_demangling_exact "lucid: __ct__7fstreamFiPcT1" "fstream::fstream(int, char *, int)" test_demangling_exact "lucid: __ct__7istreamFP9streambuf" "istream::istream(streambuf *)" test_demangling_exact "lucid: __ct__7istreamFP9streambufiP7ostream" "istream::istream(streambuf *, int, ostream *)" test_demangling_exact "lucid: __ct__7istreamFiPcT1" "istream::istream(int, char *, int)" test_demangling_exact "lucid: __ct__7istreamFiT1P7ostream" "istream::istream(int, int, ostream *)" test_demangling_exact "lucid: __ct__7ostreamFP9streambuf" "ostream::ostream(streambuf *)" test_demangling_exact "lucid: __ct__7ostreamFiPc" "ostream::ostream(int, char *)" test_demangling "lucid: __ct__8ifstreamFPCciT2" \
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -