To list symbols in
.so .a .o or an executable files, you can use
objdump -t to list the contents of the symbol table.
The basic syntax of
objdump commands is:
According to the second reference link below, command line tool
readelf is more suitable for displaying symbols for
ELF format (which is a common
format for executables, object code, shared libraries and core dumps on UNIX/LINUX systems) files. Do check this tool out as well.
Try these commands with some
a.out file of c/c++ programs and read their
And if you want to demangle symbols, try use