summaryrefslogtreecommitdiffstats
path: root/debian/patches/1673482186.FILE5_44-17-g4c8ee2e7.detect-smali-files-fc-stegerman.patch
blob: 96b069d74249e05ba74bb5de012420f2726e634b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Subject: Detect .smali files (FC Stegerman)
Origin: FILE5_44-17-g4c8ee2e7 <https://github.com/file/file/commit/FILE5_44-17-g4c8ee2e7>
Upstream-Author: Christos Zoulas <christos@zoulas.com>
Date: Thu Jan 12 00:09:46 2023 +0000

--- a/magic/Magdir/android
+++ b/magic/Magdir/android
@@ -207,3 +207,8 @@
 >8	string	>000	dex section version: %s,
 >12	lelong	>0	number of dex files: %d,
 >16	lelong	>0	verifier deps size: %d
+
+# Disassembled DEX files
+0	string/t	.class\x20
+>&0	regex/512	\^\\.super\x20L.*;$	disassembled Android DEX Java class (smali/baksmali)
+!:ext	smali