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.

Updated on: 30-Jul-2019

593 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements