Repository navigation
v0.1.4 — real-ART cdex and legacy dex reads: fix the read plumbing
Two CLI calling bugs (not library gaps) were blocking reads the jar could do all along: a stale art=true flag left behind by withTargetApi, and the magic-scan path passing the magic offset as header_offset instead of data_offset. Fixed both, added an odex-instructions fallback rung and deep materialization for model-level commands.
Verified against real-world artifacts:
- 19 MB Android-12 boot vdex (vdex019, three embedded cdex parts, 13,754 framework classes) — counts, class lists and full model all read (api-28+odex interpretation, legacy hidden-api field flags decrypting)
- real HTC Sooner M3/M5 framework dexes (dex009: 2412 classes, dex013: 2910) — flat and dey-odex-embedded
- quickened odex content still cannot be written to a standard version (de-odexing is out of scope for current DexFile) — convert/patch/split fail honestly, naming the first offending opcode (e.g. RETURN_VOID_NO_BARRIER, M_INVOKE_DIRECT); info and extract work
sha256 (dexfile-cli.jar): 14d5c00748fd2fa114f456b1924223d826e3b93f619595af7b527b7770f4e3de