aboutsummaryrefslogtreecommitdiff
path: root/magic/Magdir/arm
diff options
context:
space:
mode:
Diffstat (limited to 'magic/Magdir/arm')
-rw-r--r--magic/Magdir/arm11
1 files changed, 10 insertions, 1 deletions
diff --git a/magic/Magdir/arm b/magic/Magdir/arm
index c514320354e6..fd0180316a35 100644
--- a/magic/Magdir/arm
+++ b/magic/Magdir/arm
@@ -1,5 +1,5 @@
#------------------------------------------------------------------------------
-# $File: arm,v 1.3 2022/10/31 14:35:39 christos Exp $
+# $File: arm,v 1.4 2024/02/18 14:15:22 christos Exp $
# arm: file(1) magic for ARM COFF
#
# https://docs.microsoft.com/en-us/windows/win32/debug/pe-format
@@ -40,6 +40,15 @@
>>0 use display-coff
!:strength -10
+# ARM64 Compiled Hybrid PE X86
+0 leshort 0x3a64
+# test for unused flag bits in f_flags
+>18 uleshort&0x8E80 0
+# use little endian variant of subroutine to
+# display name+variables+flags for common object formatted files
+>>0 use display-coff
+!:strength -10
+
# ARM64EC
0 leshort 0xa641
# test for unused flag bits in f_flags