ida调试android
1.开androidserver
2.adb shell am start -D -n bao/.MainActivity
3.如果端口占用可以关一下
adb forward tcp:8700 jdwp:5774
adb.exe: error: cannot bind listener: cannot bind to 127.0.0.1:8700: 通常每个套接字地址(协议/网络地址/端口)只允许使用一 次。 (10048)
netstat -ano | findstr 8700 TCP 127.0.0.1:8700 0.0.0.0:0 LISTENING 10652
tasklist /fi "pid eq 10652"
taskkill /pid 276 /f
adb forward tcp:8700 jdwp:5774 8700
其他:
根据这个里面可以看到加载了我要的so
https://www.cnblogs.com/dzqdzq/p/11229094.html
alleye:/ $ ps -A |grep kanxue u0_a136 13756 26002 4324344 48348 0 0 S com.kanxue.pediy1
adb forward tcp:23947 jdwp:13756
jdb -connect com.sun.jdi.SocketAttach:port=23947,hostname=127.0.0.1
动调的一些报错:https://blog.csdn.net/dengkangou9055/article/details/102069145
过于详细的android学习:https://github.com/OWASP/owasp-mstg/blob/master/Document/0x05c-Reverse-Engineering-and-Tampering.md#ida-pro
浙公网安备 33010602011771号