Repository navigation
移除 32 位 Native ABI 支持(Drop 32-Bit Native ABIs — ADR-0003)
- 仅保留 64 位 Native ABI(
arm64-v8a、x86_64):从:riskengine-sdk的abiFilters中移除armeabi-v7a与x86,并在CMakeLists.txt与核心原生头文件加入编译期 64 位断言(!defined(__LP64__)快速失败)。 - 彻底清理 C++ 32 位死代码与宿主单测:移除
raw_syscall.h、syscall_wrapper.cpp、native_integrity.cpp、tee_binder_probe.cpp、zygisk_atexit_probe.cpp、custom_rom_probe.cpp、hma_uid_probe.cpp与runtime_arch_checker.cpp中的 ARM32/i386 内联汇编、32 位系统调用适配、ARM32/x86-32 跳板解码器及Elf32_*路径,同步精简 L2 C++ 宿主测试与 macOShost_shims。外部伪造/转译环境检测(如i386/i686属性一致性与 Houdini 检测)完整保留。 - 收紧 ELF 门禁与文档防漂移校验:
scripts/check-elf-hardening.sh更新为严格校验 2 个 64 位 ABI 并将 Release AAR 体积上限从8 MiB收紧至4 MiB;新增ADR-0003记录架构决策与宿主 64 位集成约束,并在scripts/test_static_gates.py中增加活跃文档防回流断言。
Android CI 稳定性修复(L3 KVM Emulator Hardening)
- 修复 API 30 L3 模拟器启动
DeadSystemException偶发失败:新增可控仓库内脚本scripts/ci-run-emulator.sh替代.github/workflows/ci.yml中的reactivecircus/android-emulator-runner@v2,显式配置-memory 4096 -cores 2 -no-snapshot-load -no-snapshot-save,在sys.boot_completed=1之后继续校验dev.bootcomplete=1与input/package系统服务真正就绪并支持瞬态异常退避重试与整机重启自愈(最多重试 1 次),失败时自动归档emulator.log与logcat以便排障。
Demo APK Signing Note: The Demo APK is intentionally signed with a temporary CI debug key and is provided only for sideload testing. It is not intended for production distribution or app stores. A later release may not install as an update because its temporary signing key can differ; uninstall the previous Demo first if Android reports a signature mismatch. No production signing secret is stored by this workflow.
Full Changelog: v2.0.0...v2.0.1