anestisb / vdexExtractor

Tool to decompile & extract Android Dex bytecode from Vdex files
Apache License 2.0
1.02k stars 218 forks source link

Add vdex021 support #52

Closed IgorEisberg closed 4 years ago

IgorEisberg commented 5 years ago

Had to make some renaming in 019 files to be able to compile 021 without conflicting duplicates. This basically reads the extra data added in vdex021's header: uint32_t bootclasspath_checksumssize; uint32_t class_loader_contextsize; However, currently, the extra data at the end of the file isn't parsed, but at least it allowed the extracting of the contained cdex files, as they don't seem to be directly related to that extra data.

anestisb commented 5 years ago

@IgorEisberg thank you for submitting the PR and sorry for sitting on it for such a long time. I'll check the changes in vdex 021 dropped with Android 10 and verify if optimal to merge your patch and add missing changes in parser or refactor a few bits with a different strategy.