find_global_symbol.sh "TObject::Copy(TObject&) const"or:-
find_global_symbol.sh _ZNK7TObject4CopyERS_It decides if the named is demangled by looking to see if it includes a '('. It then proceeds to search through every path in LD_LIBRARY_PATH (although it skips duplicates, the current directory and /usr/lib) and prints any match it finds. For example:-
Checking libraries in /data1/software/root/cvsroot/Linux-2-4GCC3_2/lib...
Found in libCore.so
Entry: 16430:000f4ba6 T _ZNK7TObject4CopyERS_
Translates to 000f4ba6 T TObject::Copy(TObject&) const
Found in libEG.so
Entry: 943: U _ZNK7TObject4CopyERS_
Translates to U TObject::Copy(TObject&) const
The symbol _ZNK7TObject4CopyERS_ is found in libCore.so and libEG.so
and translates to TObject::Copy(TObject&) const. In the libraries the
symbol type is as follows:-
The find_global_symbol.sh command can accept the following options:-