android (284237) | android (298192) |
---|---|
1 2#------------------------------------------------------------ | 1 2#------------------------------------------------------------ |
3# $File: android,v 1.8 2015/03/19 18:04:37 christos Exp $ | 3# $File: android,v 1.9 2016/01/11 21:19:18 christos Exp $ |
4# Various android related magic entries 5#------------------------------------------------------------ 6 7# Dalvik .dex format. http://retrodev.com/android/dexformat.html 8# From <mkf@google.com> "Mike Fleming" 9# Fixed to avoid regexec 17 errors on some dex files 10# From <diff@lookout.com> "Tim Strazzere" 110 string dex\n --- 111 unchanged lines hidden (view full) --- 123# filename 124>>>0x44 string >\0 "%-.64s" 125#>>>0x18 ulelong >0 126# blocksize in 512 byte units ? 127#>>>>0x18 ulelong x \b, %db 128# partition size in blocks ? 129#>>>>0x22 ulelong x \b*%d 130 | 4# Various android related magic entries 5#------------------------------------------------------------ 6 7# Dalvik .dex format. http://retrodev.com/android/dexformat.html 8# From <mkf@google.com> "Mike Fleming" 9# Fixed to avoid regexec 17 errors on some dex files 10# From <diff@lookout.com> "Tim Strazzere" 110 string dex\n --- 111 unchanged lines hidden (view full) --- 123# filename 124>>>0x44 string >\0 "%-.64s" 125#>>>0x18 ulelong >0 126# blocksize in 512 byte units ? 127#>>>>0x18 ulelong x \b, %db 128# partition size in blocks ? 129#>>>>0x22 ulelong x \b*%d 130 |
131# Android bootimg format | 131# Android sparse img format |
132# From https://android.googlesource.com/\ 133# platform/system/core/+/master/libsparse/sparse_format.h 1340 lelong 0xed26ff3a Android sparse image 135>4 leshort x \b, version: %d 136>6 leshort x \b.%d 137>16 lelong x \b, Total of %d 138>12 lelong x \b %d-byte output blocks in 139>20 lelong x \b %d input chunks. 140 141# Android binary XML magic 142# In include/androidfw/ResourceTypes.h: 143# RES_XML_TYPE = 0x0003 followed by the size of the header (ResXMLTree_header), 144# which is 8 bytes (2 bytes type + 2 bytes header size + 4 bytes size). 1450 lelong 0x00080003 Android binary XML | 132# From https://android.googlesource.com/\ 133# platform/system/core/+/master/libsparse/sparse_format.h 1340 lelong 0xed26ff3a Android sparse image 135>4 leshort x \b, version: %d 136>6 leshort x \b.%d 137>16 lelong x \b, Total of %d 138>12 lelong x \b %d-byte output blocks in 139>20 lelong x \b %d input chunks. 140 141# Android binary XML magic 142# In include/androidfw/ResourceTypes.h: 143# RES_XML_TYPE = 0x0003 followed by the size of the header (ResXMLTree_header), 144# which is 8 bytes (2 bytes type + 2 bytes header size + 4 bytes size). 1450 lelong 0x00080003 Android binary XML |