]> granicus.if.org Git - file/commitdiff
Initial revision
authorChristos Zoulas <christos@zoulas.com>
Tue, 20 Aug 1996 01:52:00 +0000 (01:52 +0000)
committerChristos Zoulas <christos@zoulas.com>
Tue, 20 Aug 1996 01:52:00 +0000 (01:52 +0000)
magic/Magdir/digital [new file with mode: 0644]
magic/Magdir/osf1 [new file with mode: 0644]

diff --git a/magic/Magdir/digital b/magic/Magdir/digital
new file mode 100644 (file)
index 0000000..758a8a2
--- /dev/null
@@ -0,0 +1,41 @@
+#  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
+#
+# The next is incomplete, we could tell more about this format,
+# but its not worth it.
+0      leshort         0x188   Alpha compressed COFF
+0      leshort         0x18f   Alpha u-code object
+#
+#
+# Some other interesting Digital formats,
+0      string  ^\0377\0377\0177        ddis/ddif
+0      string  ^\0377\0377\0174        ddis/dots archive
+0      string  ^\0377\0377\0176        ddis/dtif table data
+0      string  ^\033c\033              LN03 output
+0      long    04553207                X image
+#
+0      string  !<PDF>!\n               profiling data file
+#
+# Locale data tables (MIPS and Alpha).
+#
+0      short           0x0501          locale data table
+>6     short           0x24            for MIPS
+>6     short           0x40            for Alpha
diff --git a/magic/Magdir/osf1 b/magic/Magdir/osf1
new file mode 100644 (file)
index 0000000..31166c1
--- /dev/null
@@ -0,0 +1,7 @@
+#
+# Mach magic number info
+#
+0      long            0xefbe  OSF/Rose object
+# I386 magic number info
+#
+0      short           0565    i386 COFF object