Repository navigation
Conversation
- Synthetic stored-ZIP APK with binary AXML label/icon references (0x7f010000 / 0x7f020000) and nonempty resources.arsc package 0x7f. - Focused test drives production parseApk/ResTable and pins fixture, icon and decoy hashes plus three wrong-ID negative controls.
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.
Scope
Add a deterministic repository-owned synthetic APK fixture with nonempty
resources.arscand binary AXMLTYPE_REFERENCElabel/icon attributes. Exercise the realparseApkpath (ZIP + AXML + ResTable) and registertest/arsc-fixture-test.jsinnpm test.@0x7f010000->Arsc Fixture App.@0x7f020000->res/mipmap-hdpi/ic_launcher.png, with a larger decoy image to detect ZIP fallback.b5cf42da75a85a30d64fbd5da26474a592136abd0c326a9cfed800a37d16fd06.zipfile.testzip() == None), wrong-ID/missing-ARSC negative controls.Provenance: Constructed from documented binary formats, not aapt2-compiled and not a real app APK. This proves a controlled production parser path only, not actual Android installation.
Review / checks
Candidate
ce92f00004d47351e65873fb8ae1da2fae021283was reviewed independently by local OMP GLM, with a post-CRC second validation. Root integratione41b5104e487eb84b2ae9906e5e3a5d9e864e664adds only the npm test registration.Root Windows replay: focused 11/11 exit 0; existing synthetic 9/9 exit 0 (one pre-existing optional external-APK SKIP). Swapped-resource-ID and absent-ARSC external overrides each exit 1; restored fixture returns 11/11 exit 0. Git worktree clean and
git diff --checkpasses.Isolated full
npm test: 136 passed, 1 failed, the existing packaging dependency assertion because this worktree lacks a local@napi-rs/lzmainstall. Not presented as full local GREEN. Fork CI is GREEN at exact heade41b510: run 44901806459, Windows Node 20 and 22 both passed install,npm test(including this fixture's 11/11), and mouse-hook smoke. This does not approve upstreamaction_requiredworkflows.No request to approve upstream workflow, merge, or release.