我正在尝试从包含 JNI 胶水代码的共享库中提取相关符号,但 nm 似乎没有足够的帮助。方法签名不存在,所以我不知道要传递哪些参数。
有任何想法吗?
bash-3.2# ./arm-linux-androideabi-nm -D ~/Desktop/backup/whiteBox/libamplayerjni.so | grep Java
00030d6c T Java_com_farcore_playerservice_AmPlayer_GL2XScale
00030da8 T Java_com_farcore_playerservice_AmPlayer_close
00030d74 T Java_com_farcore_playerservice_AmPlayer_disable2X2XYScale
...
obdump 也没有多大帮助
bash-3.2# ./arm-linux-androideabi-objdump -TC ~/Desktop/backup/whiteBox/libamplayerjni.so | grep Java
00030c00 g DF .text 00000008 Java_com_farcore_playerservice_AmPlayer_getDivxInfo
00030c08 g DF .text 00000008 Java_com_farcore_playerservice_AmPlayer_setIVolume
00030c10 g DF .text 00000008 Java_com_farcore_playerservice_AmPlayer_mute
00030c18 g DF .text 00000008 Java_com_farcore_playerservice_AmPlayer_unmute
00030c20 g DF .text 00000008 Java_com_farcore_playerservice_AmPlayer_setVideoBlackOut