问题
IDA调试APK中32位的so时遇到了这个问题:
The current database is for a 32-bit application
but the debugged application (pid=25330) is 64-bit.
Please check that you are running the correct application.
解决方案
APK中有多个so时,手机会根据CPU选择适合自己abi的so来运行。以nexus6p为例,有一个32为的so和一个64位的so,而nexus 6p是64位处理器,所以会选择64位so来运行。
那么我们使用IDA远程调试时,也需要分析64位的so。