aboutsummaryrefslogtreecommitdiff
path: root/magic/Magdir/android
diff options
context:
space:
mode:
Diffstat (limited to 'magic/Magdir/android')
-rw-r--r--magic/Magdir/android14
1 files changed, 7 insertions, 7 deletions
diff --git a/magic/Magdir/android b/magic/Magdir/android
index 8a2dedf3d2d9..c081ebc72635 100644
--- a/magic/Magdir/android
+++ b/magic/Magdir/android
@@ -1,6 +1,6 @@
#------------------------------------------------------------
-# $File: android,v 1.24 2023/02/20 16:51:59 christos Exp $
+# $File: android,v 1.26 2024/09/04 19:06:11 christos Exp $
# Various android related magic entries
#------------------------------------------------------------
@@ -9,11 +9,11 @@
# Fixed to avoid regexec 17 errors on some dex files
# From <diff@lookout.com> "Tim Strazzere"
0 string dex\n
->0 regex dex\n[0-9]{2}\0 Dalvik dex file
->4 string >000 version %s
+>0 regex dex\n[0-9]{2} Dalvik dex file
+>>4 string >000 version %s
0 string dey\n
->0 regex dey\n[0-9]{2}\0 Dalvik dex file (optimized for host)
->4 string >000 version %s
+>0 regex dey\n[0-9]{2} Dalvik dex file (optimized for host)
+>>4 string >000 version %s
# Android bootimg format
# From https://android.googlesource.com/\
@@ -223,7 +223,7 @@
# +/refs/heads/androidx-main/profileinstaller/profileinstaller/\
# src/main/java/androidx/profileinstaller/ProfileVersion.java
0 string pro\x00
->0 regex pro\x000[0-9][0-9]\x00 Android ART profile
+>4 regex 0[0-9][0-9] Android ART profile
!:ext prof
>>4 string 001\x00 \b, version 001 N
>>4 string 005\x00 \b, version 005 O
@@ -231,7 +231,7 @@
>>4 string 010\x00 \b, version 010 P
>>4 string 015\x00 \b, version 015 S
0 string prm\x00
->0 regex prm\x000[0-9][0-9]\x00 Android ART profile metadata
+>0 regex 0[0-9][0-9] Android ART profile metadata
!:ext profm
>>4 string 001\x00 \b, version 001 N
>>4 string 002\x00 \b, version 002