Ayrx / axmldecoder

Decoder for the binary XML format used by Android.
Apache License 2.0
20 stars 10 forks source link

Skip unknown types when parsing malformed APK #12

Open guri87-byte opened 1 year ago

guri87-byte commented 1 year ago

Here is example for such case: https://www.virustotal.com/gui/file/671f72af20a5cced9b7d9801e65d41694409093dc68156ec75ad950522835581/details

Many parsers, including Apktools fails to parse the manifest file and crashes.

Instead of crashing, better to parse whatever is valid and skip invalid values