From: Christos Zoulas Date: Thu, 19 Mar 2015 18:04:37 +0000 (+0000) Subject: Add android XML magic X-Git-Tag: FILE5_23~33 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b9f041b390c09e534073d165ab4f67835a74876c;p=file Add android XML magic --- diff --git a/magic/Magdir/android b/magic/Magdir/android index 0fcb3a0a..85349ab1 100644 --- a/magic/Magdir/android +++ b/magic/Magdir/android @@ -1,6 +1,6 @@ #------------------------------------------------------------ -# $File: android,v 1.6 2014/08/04 06:00:36 christos Exp $ +# $File: android,v 1.7 2014/11/10 05:08:23 christos Exp $ # Various android related magic entries #------------------------------------------------------------ @@ -137,3 +137,9 @@ >16 lelong x \b, Total of %d >12 lelong x \b %d-byte output blocks in >20 lelong x \b %d input chunks. + +# Android binary XML magic +# In include/androidfw/ResourceTypes.h: +# RES_XML_TYPE = 0x0003 followed by the size of the header (ResXMLTree_header), +# which is 8 bytes (2 bytes type + 2 bytes header size + 4 bytes size). +0 lelong 0x00080003 Android binary XML