From d68dd94f7ed9e0cd836a30ba790f795e04406ea2 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 da98b576..7675c1cd 100644 --- a/magic/Magdir/android +++ b/magic/Magdir/android @@ -1,6 +1,6 @@ #------------------------------------------------------------ -# $File: android,v 1.7 2014/11/10 05:08:23 christos Exp $ +# $File: android,v 1.8 2015/03/19 18:04:37 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.40.0