Well my question is straight forward, for example i know the header might have all the required information,what i am looking is that how can i get the instruction set the shared library is having
For example ,i have file present in "/mnt/sdcard/Android/data/tmp/lib.so
now ,how can i get that the libaray is for Armv7,or x86,mips or x86_64 or mips64 or armeabi ?
any way something like
ByteBuffer buffer = ByteBuffer.wrap(libHeader);
buffer.order(ByteOrder.LITTLE_ENDIAN);
and any specific byte at location which tells us the architecture or instruction set
i actually want to know it from android application only. Thanks