Repository navigation
fix(android): reject invoke coverage without site evidence - #10679
Conversation
The JADX bridge emits or removes direct_invokes and direct_invokes_exhaustive together. A protocol item carrying only the coverage flag reached trace_android_references as a reference that claimed true or false coverage over a null site list, while the coverage summary counted it as unknown. The protocol schema now rejects that combination. Rebased onto current main from morluto#2850. The companion change that removed the null default from the result schema already landed on main.
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
[Medium impact] The PR appears safe to merge; the new check matches the bridge’s output. SummaryThe PR rejects
Validation was source-only; no tests or real JADX run were performed during this review. Checking whether another PR supersedes this one was blocked by missing GitHub authentication. Reviews (2) · Last reviewed commit: "fix(android): reject invoke coverage wit..." · Reviewed by Greptile |
|
Ready to merge: full CI is green on this head, Greptile's latest review is 5/5 with no open threads, and it merges into main 42cab26 without conflicts. |
Lists morluto/rea#10679 as merged and adds the local dashboard fix in Prowler and AMORDEGRC in Univer to the work in review.
Summary
Supersedes #2850 by @LcokHcak. That PR has been inactive since 2026-10-26, is about 4,700 commits behind
mainand never had its readiness declaration filled. Its first commit, which removed the result schema'snulldefault, has since landed onmain. Its second commit is applied here with @LcokHcak as the author. If @LcokHcak updates #2850, close this one.The JADX bridge emits or removes
direct_invokesanddirect_invokes_exhaustivetogether (ReaJadxBridge.java, where every writer sets both and every remover removes both). Onmain, a protocol item carrying only the coverage flag still parsed.trace_android_referencesthen returned a reference withdirect_invokes_exhaustive: trueorfalseoverdirect_invokes: null, whiledirect_invokes_coveragecounted the same node as unknown.Change and scope
src/android/JadxProtocol.ts: the xrefs item schema refusesdirect_invokes_exhaustivewithoutdirect_invokes("Invoke coverage requires a direct invoke site list").Evidence and regression coverage
tests/boundary/android/JadxAnalysis.test.tsaddsrejects invoke coverage true/false without the direct invoke site list.main's protocol both cases fail ("promise resolved … instead of rejecting").Validation performed
npm run test:focused -- tests/boundary/android/JadxAnalysis.test.ts: 86 passed.npm run check:fastpassed.Author readiness
Human owner: @Davmunrey
Before merge
type(scope): outcome.