How to determine ABI of Android .so file (i.e. armeabi or armeabi-v7a)? -
i have .so file provided third-party vendor included in android application. not have access source code nor can (easily) contact vendor.
is there way me figure out examining .so file whether or not compiled targeting armeabi or armeabi-v7a abi?
i'm asking 2 reasons. first, prefer have been compiled targeting armeabi-v7a abi improved performance compared armeabi; knowing give me confidence i'm getting best possible performance. also, name directory in .so files live appropriately (i.e. name folder "armeabi" or "armeabi-v7a" corresponding abi compiled targeting).
i ended disassembling .so files using arm-linux-androideabi-objdump
program android ndk. in disassembled code found vmaxnm.f32
instruction, present in armeabi-v7a instruction set not in armeabi. based on concluded .so compiled targeting armeabi-v7a. there other instructions have looked i'm not @ familiar arm instruction set able tell. got lucky 1 obvious (being floating point operation, 1 of major differences between armeabi , armeabi-v7a). ideas posted.
Comments
Post a Comment