Repository navigation
feat: 增加运行时界面保护并准备 1.7.0 发布 - #22
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
运行中的应用仍会暴露可截图的业务页面和稳定资源名称,且原有环境检查仅覆盖启动阶段。本次为 APK/AAB 增加可选界面保护、Activity 豁免、ADB 报告或阻断策略以及前台复查,CLI 与 GUI 使用同一配置;新选项全部默认关闭。
APK 资源名称混淆只处理安全的 id 名称并保留数值 ID,遇到 Native、assets、动态查找或未知格式保守跳过。AAB 明确拒绝该选项。窗口改写保留虚方法分派并跳过 super 调用;旧运行时资源明确拒绝不支持的新策略。普通 gmain/gdbus 线程名降为弱信号,减少误杀。
同步版本至 1.7.0,补充功能说明、发布说明与回归脚本。冒烟脚本固定使用本次构建的运行时,失败时保留诊断产物。本地 plan、测试 APK 和证书均未提交。
完整 CI 暴露出壳 DEX 预算过期:独立重建原 main 已为 53,144 字节,旧预算却为 32,500 字节。本次本机实测 59,220 字节(Linux CI 59,216),增量约 6 KB、4 个类;更新机器可读基线与说明,仍保留约 10% 的膨胀预算和原有检查。
验证:
边界:防截图会影响录屏投屏;ADB 限制模式会主动拒绝调试开启或状态未知的设备。未宣称隐藏无障碍树、阻止所有 ADB 输入或保证所有 ROM/业务包无崩溃;无线切换、第三方窗口及业务全流程仍需实际应用回归。