HexHacking xCrash 3.0.0 发布,支持 Android 11

栏目: 软件资讯 · 发布时间: 5年前

内容简介: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.xcrash to io.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 to setJavaDumpAllThreadsAllowList().
  • The public API setNativeDumpAllThreadsWhiteList() changed to setNativeDumpAllThreadsAllowList().

New features

  • Compatible with Android 11 (API level 30).
  • Support AddressSanitizer(ASan).
  • New independent module after refactoring: xCrash DL.

Improve

  • Try process_vm_readv() before ptrace().
  • 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.

以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

The Web Designer's Idea Book

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》 这本书的介绍吧!

在线进制转换器
在线进制转换器

各进制数互转换器

URL 编码/解码
URL 编码/解码

URL 编码/解码

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具