android - Is it possible to get the version of a shared object? -
i'm trying track down bug in software line. have 2 release build version 2.0.962 , 2.0.966. difference between these versions lib.so file. in order figure out start looking in source tree lib.so, need know version number in each of release builds.
is there command line tool printing version of shared object?
i never did native android programming android uses linux kernel, executable format used "elf". far elf concerned, there no version information of shared object stored in file. unless file name saying "libxxx.version.so"
, there no other way find out version number of shared object. technique used in linux.
my suggestions solving issue are:
- use date modified if possible differentiate shared objects
- use dlopen() or similar open shared object , try see functions being exported.
source: http://man7.org/linux/man-pages/man5/elf.5.html note: e_version in executable version of elf format, not of executable.
Comments
Post a Comment