From bbf44e5fbaec8fe48bd09494477989cac86fff00 Mon Sep 17 00:00:00 2001 From: Christos Zoulas Date: Tue, 20 Aug 1996 01:52:00 +0000 Subject: [PATCH] Initial revision --- magic/Magdir/digital | 41 +++++++++++++++++++++++++++++++++++++++++ magic/Magdir/osf1 | 7 +++++++ 2 files changed, 48 insertions(+) create mode 100644 magic/Magdir/digital create mode 100644 magic/Magdir/osf1 diff --git a/magic/Magdir/digital b/magic/Magdir/digital new file mode 100644 index 00000000..758a8a22 --- /dev/null +++ b/magic/Magdir/digital @@ -0,0 +1,41 @@ +# Digital UNIX - Info +# +0 string ^!\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 !!\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 index 00000000..31166c1f --- /dev/null +++ b/magic/Magdir/osf1 @@ -0,0 +1,7 @@ +# +# Mach magic number info +# +0 long 0xefbe OSF/Rose object +# I386 magic number info +# +0 short 0565 i386 COFF object -- 2.40.0