fd5b397b40
More lenient AXML parsing: allow for non-standard attributes sizes and avoid index exceptions when decoding some strings * The attributes size of an XML element is now accounted for. This size must be at least 20 (0x14) bytes but can be greater. Extra bytes are just skipped. When decoding a string, if such decoding is impossible a placeholder string is returned instead of throwing an exception. This is necessary because some malware purposely add android:tag attributes with invalid string index to throw parsers off. They also employ non-standard attribute sizes. * Minor code restyling --------- Co-authored-by: qfalconer <knm241@gmail.com>