1 2#------------------------------------------------------------------------------ 3# $File: digital,v 1.17 2024/08/30 16:53:22 christos Exp $ 4# Digital UNIX - Info 5# 60 string =!<arch>\n________64E Alpha archive 7>22 string X -- out of date 8# 9 100 leshort 0603 11>24 leshort 0410 COFF format alpha pure 12>24 leshort 0413 COFF format alpha demand paged 13# TODO: use other subroutine (./coff) to display name+flags+variables for common object formatted files 14#>0 use display-coff-foo 15>>22 leshort&030000 !020000 executable 16#!:mime application/x-foo-executable 17# typically no file name suffix for executables like \DEC\HH\HYPERHLP 18!:ext / 19>>22 leshort&020000 !0 dynamically linked 20>>16 lelong !0 not stripped 21>>16 lelong 0 stripped 22>>27 byte x - version %d 23>>26 byte x \b.%d 24>>28 byte x \b-%d 25>24 leshort 0407 COFF format alpha object 26>>22 leshort&030000 020000 shared library 27>>27 byte x - version %d 28>>26 byte x \b.%d 29>>28 byte x \b-%d 30 31# Alpha COFF object file or executable 320 leshort 0x0184 33>16 leshort 0 34>>0 use display-coff 35# can be created by LINK.EXE /MACHINE:ALPHA /ROM 36>16 leshort !0 37>>18 leshort &0x0002 38>>>20 leshort 0x0107 39>>>>0 use display-coff 400 leshort 0x0284 41>16 leshort 0 42>>0 use display-coff 43 44# Basic recognition of Digital UNIX core dumps - Mike Bremford <mike@opac.bl.uk> 45# 46# The actual magic number is just "Core", followed by a 2-byte version 47# number; however, treating any file that begins with "Core" as a Digital 48# UNIX core dump file may produce too many false hits, so we include one 49# byte of the version number as well; DU 5.0 appears only to be up to 50# version 2. 51# 520 string Core\001 Alpha COFF format core dump (Digital UNIX) 53>24 string >\0 \b, from '%s' 540 string Core\002 Alpha COFF format core dump (Digital UNIX) 55>24 string >\0 \b, from '%s' 56# 57# The next is incomplete, we could tell more about this format, 58# but its not worth it. 590 leshort 0x188 Alpha compressed COFF 600 leshort 0x18f Alpha u-code object 61# 62# 63# Some other interesting Digital formats, 640 string \377\377\177 ddis/ddif 650 string \377\377\174 ddis/dots archive 660 string \377\377\176 ddis/dtif table data 670 string \033c\033 LN03 output 680 long 04553207 X image 69# 700 string =!<PDF>!\n profiling data file 71# 72# Locale data tables (MIPS and Alpha). 73# 74# GRR: line below is too general as it matches also TTComp archive, ASCII, 2K handled by ./archive 750 short 0x0501 locale data table 76>6 short 0x24 for MIPS 77>6 short 0x40 for Alpha 78