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

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
Updated on: 2019-07-30T22:30:25+05:30

826 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements