Issue
I want to create an application that is able to list all symbols of a dynamic library .so file in Android. I want to ask if there is precompiled nm for Android or at least nm's source code so that I can compile it myself.
Solution
nm
is part of binutils. You can get the source code from http://ftp.gnu.org/gnu/binutils.
You can also find arm supporting binary (compiled for host, linux-x86) in Android NDK.
If you need a binary for Android target, you can try to build it by obtaining latest Android repository, navigating to external/elfutils. However I don't think there is an Android.mk building it, so it might not be trivial. You can see that nm.c on github mirror of Android repository.
Answered By - auselen
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.