I have a few SPARC binaries that have been compiled with what seems to be the SunPro CC compiler. The symbols in the binary are referring to a very early C++ implementation (pre-namespaces) and look like this:
__0oHistreamrsRUl.
__0oHistreamrsRi.
__0oHistreamrsRf.
__0oKistrstreamdtv.
__0oHistreamrsPc.
__0oKistrstreamctPCc.
__0oNIostream_initdtv.
__0oNIostream_initctv.
Looking at these, I'm guessing that they correspond to the following methods:
istream::operator >>(unsigned long);
istream::operator >>(int);
istream::operator >>(float);
istream::~istream();
istream::operator >>(char *);
istream::operator(const char *);
ostream_init::~ostream_init();
ostream_init::ostream_init();
To make further progress, I want to understand the mangling scheme used here, but my Google-fu is too weak. Where can I find documentation on the name mangling scheme used here?
__0
prefix,H
= symbol of 7 chars follows, etc) but it would be nice to have a reference. I've searched open source repositories hoping to find a demangler but haven't found one that understands this particular demangling scheme.