Hexhacking XCrash Versions Save

🔥 xCrash provides the Android app with the ability to capture java crash, native crash and ANR. No root permission or any system permissions are required.

v3.0.0

3 years ago

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.

不兼容的变更

  • 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 的输出格式错误。