How to listdown all the symbols in a .so file in C++



To read a .so file in elf format, use readelf

readelf -Ws libName.so

It helps to extract symbol from binary.

The standard tool used for listing all symbol is, nm

nm -g libName.so
Samual Sam
Samual Sam

Learning faster. Every day.


Advertisements