| 1 2#------------------------------------------------------------------------------ 3# $File: digital,v 1.10 2011/05/03 01:44:17 christos Exp $
|
1# Digital UNIX - Info 2# 30 string =!<arch>\n________64E Alpha archive 4>22 string X -- out of date 5#
| 4# Digital UNIX - Info 5# 60 string =!<arch>\n________64E Alpha archive 7>22 string X -- out of date 8#
|
6# Alpha COFF Based Executables 7# The stripped stuff really needs to be an 8 byte (64 bit) compare, 8# but this works 90 leshort 0x183 COFF format alpha 10>22 leshort&020000 &010000 sharable library, 11>22 leshort&020000 ^010000 dynamically linked, 12>24 leshort 0410 pure 13>24 leshort 0413 demand paged 14>8 lelong >0 executable or object module, not stripped 15>8 lelong 0 16>>12 lelong 0 executable or object module, stripped 17>>12 lelong >0 executable or object module, not stripped 18>27 byte >0 - version %d. 19>26 byte >0 %d- 20>28 leshort >0 %d
| 9 100 leshort 0603 11>>24 leshort 0410 COFF format alpha pure 12>>24 leshort 0413 COFF format alpha demand paged 13>>>22 leshort&030000 !020000 executable 14>>>22 leshort&020000 !0 dynamically linked 15>>>16 lelong !0 not stripped 16>>>16 lelong 0 stripped 17>>>27 byte x - version %d 18>>>26 byte x \b.%d 19>>>28 byte x \b-%d 20>>24 leshort 0407 COFF format alpha object 21>>>22 leshort&030000 020000 shared library 22>>>27 byte x - version %d 23>>>26 byte x \b.%d 24>>>28 byte x \b-%d 25 26# Basic recognition of Digital UNIX core dumps - Mike Bremford <mike@opac.bl.uk>
|
21#
| 27#
|
| 28# The actual magic number is just "Core", followed by a 2-byte version 29# number; however, treating any file that begins with "Core" as a Digital 30# UNIX core dump file may produce too many false hits, so we include one 31# byte of the version number as well; DU 5.0 appears only to be up to 32# version 2. 33# 340 string Core\001 Alpha COFF format core dump (Digital UNIX) 35>24 string >\0 \b, from '%s' 360 string Core\002 Alpha COFF format core dump (Digital UNIX) 37>24 string >\0 \b, from '%s' 38#
|
22# The next is incomplete, we could tell more about this format, 23# but its not worth it. 240 leshort 0x188 Alpha compressed COFF 250 leshort 0x18f Alpha u-code object 26# 27# 28# Some other interesting Digital formats, 290 string \377\377\177 ddis/ddif
--- 12 unchanged lines hidden --- | 39# The next is incomplete, we could tell more about this format, 40# but its not worth it. 410 leshort 0x188 Alpha compressed COFF 420 leshort 0x18f Alpha u-code object 43# 44# 45# Some other interesting Digital formats, 460 string \377\377\177 ddis/ddif
--- 12 unchanged lines hidden --- |