ida android incompatible debugger server protocol version is 17,expected 19
来源:互联网 发布:phpcms 模板使用php 编辑:程序博客网 时间:2024/06/07 04:11
当我准备用IDA动态调试android的时候,先是用我那个nubia7执行/data/local/tmp/android_server
,然后发现是这种情况,
error: only position independent executables (PIE) are supported.
于是搜了一下,找到看雪论坛的这个帖子
http://bbs.pediy.com/thread-202895.htm
楼主你的Android是5.0以上的吧,或者IDA pro是6.6及以下的,Android5.0以上的编译选项默认开启了pie,在5.0以下编译的原生应用不能运行,要么你Android刷机降版本,要么用IDA pro6.7 6.8的android_server。
看到这句话,我发现可能是这个android_server
文件是很久之前用比较低版本的IDA里面的dbgsrv目录下的文件传上去的,于是这次找到6.8版本的IDA pro中的android_server
再传上去就可以了。结果还是不行,然后又看了一下那个帖子,发现可能是我的API版本太高了(android 5.0, API 21)于是我掏出之前买的google nessus(android 4.4 API 19)。
这次没有only position independent executables (PIE) are supported.
了,但是IDA中出现了这种情况
应该还是androi_server
文件是我很久之前上传到这个nesses上的,于是上传了那个IDA 6.8中的比较新的android_server
上去,记得给android_server
添加执行权限,
# chmod 777 /data/local/tmp/android_server
再运行一下,发现可以运行了,监听在#23946
端口。
然后注意到是32-bit的debug server,于是将IDA换成32位的。注意,调试32位的程序得用IDA的32位版,64位的程序用64位版。不然会出错。
然后为了调试,得通过adb将android上的#23946
端口转发到本地的相同端口,
然后运行一下程序
adb shell am start -D -n com.exaple.cctf/.MainActivity
或者直接在shell里面
# am start -D -n com.exaple.cctf/.MainActivity
启动Activity之后,再将IDA attach到该process。在IDA菜单栏的Debugger那里设置一下。
- ida android incompatible debugger server protocol version is 17,expected 19
- c++ debugger package is missing or incompatible
- IDA Pro分析Native报incompatible debugging server:address size is 4 bytes
- This version of android studio is incompatible with the gradle version used.Try disabling the instan
- This version of android studio is incompatible with the gradle version used.
- This version of android studio is incompatible with the gradle version used.
- This version of android studio is incompatible with the gradle version used.
- (转)This version of android studio is incompatible with the gradle version used.
- This version of android studio is incompatible with the gradle version used.
- This version of android studio is incompatible with the gradle version used.解决办法
- This version of android studio is incompatible with the gradle version used.
- c++ debugger package is missing or incompatible,无法debug应用
- c++ debugger package is missing or incompatible,无法debug应用
- Android Studio 更新报错:This version of Android studio is incompatible withe gradle plugin used.
- Android Studio Build Error : This version of Android Studio is incompatible with the Gradle Plugin u
- android-apt plugin is incompatible with future version of Android Gradle plugin. use 'annotationPro
- Android 解决Error running app: This version of Android Studio is incompatible with the Gradle Plugin
- android Error running app: This version of Android Studio is incompatible with the Gradle Plugin use
- SpringBoot非官方教程 | 第十二篇:springboot集成apidoc
- 深入理解JVM(五)——JVM调优 Eclipse调优
- Atcoder ARC 077 E
- 杨辉三角的多解(转载)
- Android自定义控件时的事件处理方法
- ida android incompatible debugger server protocol version is 17,expected 19
- Java之字符流、字符缓冲流
- 1121: [POI2008]激光发射器SZK
- Opencv3.2+opencv_contrib+VS2015配置问题汇总
- 详细比较三个 CSS 预处理器(框架):Sass、LESS 和 Stylus
- concurrentHashMap 原理
- 面向接口编程
- CSU-1507 超大型LED显示屏
- 颇具争议的12个数学问题