From b9f041b390c09e534073d165ab4f67835a74876c Mon Sep 17 00:00:00 2001 From: Christos Zoulas Date: Thu, 19 Mar 2015 18:04:37 +0000 Subject: [PATCH] Add android XML magic --- magic/Magdir/android | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 -- 2.50.1