summaryrefslogtreecommitdiffstats
path: root/contrib/file/Magdir/digital
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/file/Magdir/digital')
-rw-r--r--contrib/file/Magdir/digital47
1 files changed, 32 insertions, 15 deletions
diff --git a/contrib/file/Magdir/digital b/contrib/file/Magdir/digital
index 615ef7a..b1b77dd 100644
--- a/contrib/file/Magdir/digital
+++ b/contrib/file/Magdir/digital
@@ -1,23 +1,40 @@
+
+#------------------------------------------------------------------------------
+# $File: digital,v 1.10 2011/05/03 01:44:17 christos Exp $
# Digital UNIX - Info
#
0 string =!<arch>\n________64E Alpha archive
>22 string X -- out of date
#
-# Alpha COFF Based Executables
-# The stripped stuff really needs to be an 8 byte (64 bit) compare,
-# but this works
-0 leshort 0x183 COFF format alpha
->22 leshort&020000 &010000 sharable library,
->22 leshort&020000 ^010000 dynamically linked,
->24 leshort 0410 pure
->24 leshort 0413 demand paged
->8 lelong >0 executable or object module, not stripped
->8 lelong 0
->>12 lelong 0 executable or object module, stripped
->>12 lelong >0 executable or object module, not stripped
->27 byte >0 - version %d.
->26 byte >0 %d-
->28 leshort >0 %d
+
+0 leshort 0603
+>>24 leshort 0410 COFF format alpha pure
+>>24 leshort 0413 COFF format alpha demand paged
+>>>22 leshort&030000 !020000 executable
+>>>22 leshort&020000 !0 dynamically linked
+>>>16 lelong !0 not stripped
+>>>16 lelong 0 stripped
+>>>27 byte x - version %d
+>>>26 byte x \b.%d
+>>>28 byte x \b-%d
+>>24 leshort 0407 COFF format alpha object
+>>>22 leshort&030000 020000 shared library
+>>>27 byte x - version %d
+>>>26 byte x \b.%d
+>>>28 byte x \b-%d
+
+# Basic recognition of Digital UNIX core dumps - Mike Bremford <mike@opac.bl.uk>
+#
+# The actual magic number is just "Core", followed by a 2-byte version
+# number; however, treating any file that begins with "Core" as a Digital
+# UNIX core dump file may produce too many false hits, so we include one
+# byte of the version number as well; DU 5.0 appears only to be up to
+# version 2.
+#
+0 string Core\001 Alpha COFF format core dump (Digital UNIX)
+>24 string >\0 \b, from '%s'
+0 string Core\002 Alpha COFF format core dump (Digital UNIX)
+>24 string >\0 \b, from '%s'
#
# The next is incomplete, we could tell more about this format,
# but its not worth it.
OpenPOWER on IntegriCloud