内容简介:HexHacking xCrash 是 xCrash 的一个分支版本,它的版本号从 3.0.0 开始。无论是在架构还是技术细节上,HexHacking xCrash 将会更加的激进。 xCrash 能为安卓 app 提供捕获 java 崩溃,native 崩溃和 ANR 的能力。...
HexHacking xCrash 是 xCrash 的一个分支版本,它的版本号从 3.0.0 开始。无论是在架构还是技术细节上,HexHacking xCrash 将会更加的激进。
xCrash 能为安卓 app 提供捕获 java 崩溃,native 崩溃和 ANR 的能力。不需要 root 权限或任何系统权限。
Gitee:https://gitee.com/hexhacking/xCrash
GitHub:https://github.com/hexhacking/xCrash
v3.0.0 release note:https://github.com/hexhacking/xCrash/releases/tag/v3.0.0
不兼容的变更
- POM Group ID 从
com.iqiyi.xcrash改为io.hexhacking.xcrash。 - 不再支持 API level 14 和 15。当前支持:Android 4.1 - 11 (API level 16 - 30)。
- 不再支持 armeabi。当前支持:armeabi-v7a,arm64-v8a,x86 和 x86_64。
- Public API
setJavaDumpAllThreadsWhiteList()改为setJavaDumpAllThreadsAllowList()。 - Public API
setNativeDumpAllThreadsWhiteList()改为setNativeDumpAllThreadsAllowList()。
新特性
- 兼容 Android 11 (API level 30)。
- 支持 AddressSanitizer(ASan)。
- 重构后的新独立模块:xCrash DL。
改进
- 在
ptrace()之前先尝试process_vm_readv()。 - 用 CMake 代替了 ndk-build。
- 不再需要额外的编译脚本,也不再需要配置额外的 NDK 版本和路径,你现在可以直接在 Android Studio 里编译和运行 xCrash 和 sample APP。
- NDK 升级到
21d。 - 编译时使用 version script 和 LTO,以获得体积更小的 so 库。
Bugs修复
- 修复 FD list 的输出格式错误。
Incompatible Changes
- POM Group ID changed from
com.iqiyi.xcrashtoio.hexhacking.xcrash. - API level 14 and 15 are no longer supported. Currently supported: Android 4.1 - 11 (API level 16 - 30).
- armeabi is no longer supported. Currently supported: armeabi-v7a, arm64-v8a, x86 and x86_64.
- The public API
setJavaDumpAllThreadsWhiteList()changed tosetJavaDumpAllThreadsAllowList(). - The public API
setNativeDumpAllThreadsWhiteList()changed tosetNativeDumpAllThreadsAllowList().
New features
- Compatible with Android 11 (API level 30).
- Support AddressSanitizer(ASan).
- New independent module after refactoring: xCrash DL.
Improve
- Try
process_vm_readv()beforeptrace(). - Use CMake instead of ndk-build.
- No need for additional compilation scripts, no need for additional configuration of NDK version and path, you can now compile and run xCrash and sample APP directly in Android Studio.
- The NDK version used is upgraded to
21d. - Compile with version script and LTO to obtain a smaller so library.
Bugs fixed
- Fix the output format error of FD list.
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网
猜你喜欢:- cURL 7.70.0 发布,原生支持 JSON、实验性支持 MQTT
- hi-nginx-1.5.2 发布,优化 cpp 支持,添加 groovy 支持
- hi-nginx-1.5.2 发布,优化 cpp 支持,添加 groovy 支持
- Spring Tools 4.3.0 发布,支持 Eclipse Theia 并弃用 Atom 支持
- Spring Tools 4.3.0 发布,支持 Eclipse Theia 并弃用 Atom 支持
- Tiki 20 发布,支持 markdown 语法
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
The Web Designer's Idea Book
Patrick Mcneil / How / 2008-10-6 / USD 25.00
The Web Designer's Idea Book includes more than 700 websites arranged thematically, so you can find inspiration for layout, color, style and more. Author Patrick McNeil has cataloged more than 5,000 s......一起来看看 《The Web Designer's Idea Book》 这本书的介绍吧!