Skip to content

feat(startup): add APK startup evidence reporting - #47

Merged
caverav merged 2 commits into
mainfrom
feat/apk-startup-evidence
Mar 13, 2026
Merged

caverav merged 2 commits into
mainfrom
feat/apk-startup-evidence

Conversation

@caverav

@caverav caverav commented Mar 13, 2026

Copy link
Copy Markdown
Owner

Summary

  • add APK classes*.dex startup evidence extraction for info and decompile
  • report Android startup/JNI bootstrap signals through info summary fields and report.json.android_startup
  • add CLI/engine toggles, loader helpers, tests, and user-facing docs for the new startup analysis path

Validation

  • nix develop -c ./scripts/ci-check.sh
  • target/debug/flutterdec info --json /tmp/flutterdec-apk-test/LocalSend-1.17.0-android-arm64v8.apk
  • target/debug/flutterdec info --json /tmp/flutterdec-apk-test/Spotube-android-all-arch.apk
  • target/debug/flutterdec decompile /tmp/flutterdec-apk-test/LocalSend-1.17.0-android-arm64v8.apk -o /tmp/localsend-startup-smoke --analysis-profile light --with-apk-startup-analysis --max-functions 1 --min-disassembly-ratio 0 --max-indirect-call-ratio 1 --max-unresolved-cf 999 --max-placeholder-ifs 999
  • target/debug/flutterdec decompile /tmp/flutterdec-apk-test/Spotube-android-all-arch.apk -o /tmp/spotube-startup-smoke --analysis-profile light --with-apk-startup-analysis --max-functions 1 --min-disassembly-ratio 0 --max-indirect-call-ratio 1 --max-unresolved-cf 999 --max-placeholder-ifs 999

Notes

  • this is round 1 of the deterministic APK startup recovery work
  • startup evidence is report-only in this PR; it does not yet feed bootflow prioritization

@caverav
caverav merged commit 50ddec4 into main Mar 13, 2026
2 checks passed
@caverav
caverav deleted the feat/apk-startup-evidence branch November 3, 2026 23:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant