This repository has been archived by the owner on Oct 3, 2024. It is now read-only.
Releases: hexhacking/xCrash
Releases · hexhacking/xCrash
HexHacking xCrash v3.0.0
Incompatible Changes
- POM Group ID changed from
com.iqiyi.xcrash
toio.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.
不兼容的变更
- 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 的输出格式错误。