Example Ouptut from cppfilt in Binary Mode (OS/2, Windows)

Here is an example of output produced by running cppfilt using one of the libraries from previous version of VisualAge C++ and predecessor products as input. The following command was issued:

cppfilt /B /P /0 1000 /N c:\ibmcpp\lib\dde4cc.lib

The /B option specifies that cppfilt runs in binary mode. Here, the input file is a binary file dde4cc.lib. To output a list of symbols, the /P option is used to include public symbols, and /N is used to include all referenced external symbols. Specifying /0 1000 generates ordinals, starting at ordinal value 1000.

In the listing below, you see the ordinal numbers preceeded by an @ character. Some lines start with a semi-colon to be consistent with the format of module definition (.def) files. Module definition files were used in previous verisons of VisualAge C++. In a module definition file, characters following a semicolon are treated as comments. Here, the demangled names of symbols are shown in comment lines. A mangled name appears on the line following each demangled name.

;From library: c:\ibmcpp\lib\dde4cc.lib
 ;From object file: C:\ibmcpp\src\IILNSEQ.C
 ;PUBDEFs (Symbols available from object file):
 ;ILinkedSequenceImpl::setToPrevious(ILinkedSequenceImpl::Node*&) const
 setToPrevious__19ILinkedSequenceImplCFRPQ2_19ILinkedSequenceImpl4Node @1000 NONAME
 ;ILinkedSequenceImpl::allElementsDo(void*,void*) const
 allElementsDo__19ILinkedSequenceImplCFPvT1 @1001 NONAME
 ;ILinkedSequenceImpl::isConsistent() const
 isConsistent__19ILinkedSequenceImplCFv @1002 NONAME
 ;ILinkedSequenceImpl::setToNext(ILinkedSequenceImpl::Node*&) const
 setToNext__19ILinkedSequenceImplCFRPQ2_19ILinkedSequenceImpl4Node @1003 NONAME
 ;ILinkedSequenceImpl::addAsNext(ILinkedSequenceImpl::Node*,ILinkedSequenceImpl::Node*)
 addAsNext__19ILinkedSequenceImplFPQ2_19ILinkedSequenceImpl4NodeT1 @1004 NONAME
 ;From object file: C:\ibmcpp\src\IITBSEQ.C
 ;PUBDEFs (Symbols available from object file):
 ;ITabularSequenceImpl::setToPrevious(ITabularSequenceImpl::Cursor&) const
 setToPrevious__20ITabularSequenceImplCFRQ2_20ITabularSequenceImpl6Cursor @1034 NONAME
 ;ITabularSequenceImpl::allElementsDo(void*)
 allElementsDo__20ITabularSequenceImplFPv @1035 NONAME
 ;ITabularSequenceImpl::removeAll(void*,void*)
 removeAll__20ITabularSequenceImplFPvT1 @1036 NONAME
 ;ITabularSequenceImpl::addAllFrom(const ITabularSequenceImpl&)
 addAllFrom__20ITabularSequenceImplFRC20ITabularSequenceImpl @1037 NONAME
 ;From object file: IIAVLKSS.C
 ;PUBDEFs (Symbols available from object file):
 ;IAvlKeySortedSetImpl::allElementsDo(void*,void*) const
 allElementsDo__20IAvlKeySortedSetImplCFPvT1 @1080 NONAME
 ;IAvlKeySortedSetImpl::isFirst(const IAvlKeySortedSetImpl::Node*) const
 isFirst__20IAvlKeySortedSetImplCFPCQ2_20IAvlKeySortedSetImpl4Node @1081 NONAME
 ;IAvlKeySortedSetImpl::setToPosition(unsigned long,IAvlKeySortedSetImpl::Node*&) const
 setToPosition__20IAvlKeySortedSetImplCFUlRPQ2_20IAvlKeySortedSetImpl4Node @1082 NONAME
 ;IAvlKeySortedSetImpl::locateOrAddElementWithKey(const void*)
 locateOrAddElementWithKey__20IAvlKeySortedSetImplFPCv @1083 NONAME


Decorated and Mangled Names


Demangle C++ Names
Get Mangled Names for C++ Symbols


The cppfilt command
cppfilt Command Options