How to list all the functions from a .so shared library

4,128 views
Skip to first unread message

Babyblue

unread,
Jul 16, 2011, 6:40:09 AM7/16/11
to android-ndk
I am trying to use an earlier build .so file. But the source is
missing, leaving only .so. How can I get all the functions from the
built .so?

Thanks!

David Turner

unread,
Jul 16, 2011, 8:27:25 AM7/16/11
to andro...@googlegroups.com
use the "readelf" program (e.g. toolchains/arm-linux-androideabi/prebuilt/<system>/bin/arm-linux-androideabi-readelf) to display the dynamic symbol table in your .so file, this will list the functions and variables imported and exported by your library.
 
Thanks!

--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To post to this group, send email to andro...@googlegroups.com.
To unsubscribe from this group, send email to android-ndk...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-ndk?hl=en.


Reply all
Reply to author
Forward
0 new messages