What is the command line to see the contents of a Shared Object module (lib*.so)?
Like how we use:
ar -t lib*.a
for archives(lib*.a) and it displays all the object files in the library.
EDIT1
Example
ar -t lib*.a
gives me a display:
asset.o
sldep.o
use
nm -D --defined-only libname.soto get the symbol names from your dynamic library.The
--defined-onlyswitch shows you only the symbol that are defined in these files, and not references to external functions.An alternative is to use objdump, and catch only the symbols in the text section :