https://blog.csdn.net/qq_20914907/article/details/126148559
https://blog.csdn.net/weixin_30768979/article/details/117690641
https://blog.csdn.net/qq_41179280/article/details/120262889
http://e.betheme.net/article/show-1206365.aspx?action=onClick
8600/8700是什么鬼:http://www.360doc.com/content/12/0121/07/30209837_561393005.shtml
android_server指定端口:-p23445
目录
要点
- 1.android_server要以root模式开启,否则IDA attach process看不到应用进程。
- 2.32/64匹配,android_server与ida、so库。
如何判断so是多少位?https://blog.csdn.net/u013463707/article/details/114371100
常见错误整理
配置错误
-
Android11 使用ida 调试so jdb启动时致命错误无法附加到目标vm
https://bbs.kanxue.com/thread-268276.htm
解决办法:需要打开DDMS,双击执行android-sdk\tools\monitor.bat
. -
Debugger->attach to process提示
Please specify the hostname in Debugger, Process options
Debugger->Process Options->,将HostName填写localhost,前提是adb forward tcp:23946 tcp:23946
命令已经执行。 -
Bogus or irresponsive remote server
android_server挂了 -
Input file is a dynamic library, it cannot be run by itself.
Please specify the host application (Debugger, Process options)
情况1:开了多个android_server -
connect: 由于目标计算机积极拒绝,无法连接。when connecting to localhost:23946
没有执行adb forward tcp:23946 tcp:23946
-
Incompatible debugging server:protocol version is 22,expected 19
IDA与android_server版本没有匹配上 -
IDA 模拟器调试x86 so linux debugger: duplicate register S
so库是x86的,android_server也是x86的,把ida的版本从7.5换至7.2这个报错就没有了。 -
Incompatible debugging server:address size is 8 bytes, expected 4
Debug错误
- 758386ABF4: got SIGILL signal (Illegal instruction) (exc.code 4, tid 22172)
情况1:cpu的主abi与so对不上
0 条评论