How to list symbols in a .so file

On Linux with development tools installed this is straight forward. On Windows, you need to install Cygwin.

So you have a .so file and you need a clue about the API used? To list the symbols you can use one of the following:

1) nm -gC
2) readelf -Ws
3) objdump -TC

Here is a .so lib file, part of the Android HTC Desire phone, and the extracted symbols as .txt files:

Leave a Reply