diff options
author | obrien <obrien@FreeBSD.org> | 2004-08-09 08:45:41 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2004-08-09 08:45:41 +0000 |
commit | bda6cdf5897e5ebed7279aca3ea3387bddcb19b0 (patch) | |
tree | fa3b953aed2a4bff370cfcd813015e532403552e /contrib/file/Magdir/elf | |
parent | f35360c37203a2efe4238a8ec8dd5c45cde0820b (diff) | |
download | FreeBSD-src-bda6cdf5897e5ebed7279aca3ea3387bddcb19b0.zip FreeBSD-src-bda6cdf5897e5ebed7279aca3ea3387bddcb19b0.tar.gz |
Virgin import of Christos Zoulas's FILE 4.10.
*- file is now broken into a library containing and processing the magic
and a consumer binary.
Diffstat (limited to 'contrib/file/Magdir/elf')
-rw-r--r-- | contrib/file/Magdir/elf | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/contrib/file/Magdir/elf b/contrib/file/Magdir/elf index bac7f71..10aac06 100644 --- a/contrib/file/Magdir/elf +++ b/contrib/file/Magdir/elf @@ -12,9 +12,14 @@ >4 byte 0 invalid class >4 byte 1 32-bit # only for MIPS - in the future, the ABI field of e_flags should be used. +>>18 leshort 8 +>>>36 lelong &0x20 N32 +>>18 leshort 10 +>>>36 lelong &0x20 N32 >>18 beshort 8 +>>>36 belong &0x20 N32 >>18 beshort 10 ->>>36 belong &0x20 N32 +>>>36 belong &0x20 N32 >4 byte 2 64-bit >5 byte 0 invalid byte order >5 byte 1 LSB @@ -77,12 +82,14 @@ >>18 leshort 17 Fujitsu VPP500, >>18 leshort 18 SPARC32PLUS, >>18 leshort 20 PowerPC, +>>18 leshort 22 IBM S/390, >>18 leshort 36 NEC V800, >>18 leshort 37 Fujitsu FR20, >>18 leshort 38 TRW RH-32, >>18 leshort 39 Motorola RCE, >>18 leshort 40 ARM, >>18 leshort 41 Alpha, +>>18 leshort 0xa390 IBM S/390 (obsolete), >>18 leshort 42 Hitachi SH, >>18 leshort 43 SPARC V9 - invalid byte order, >>18 leshort 44 Siemens Tricore Embedded Processor, @@ -162,6 +169,7 @@ >>>36 belong&0xffff00 &0x000800 Sun UltraSPARC3 Extensions Required, >>18 beshort 20 PowerPC or cisco 4500, >>18 beshort 21 cisco 7500, +>>18 beshort 22 IBM S/390, >>18 beshort 24 cisco SVIP, >>18 beshort 25 cisco 7200, >>18 beshort 36 NEC V800 or cisco 12000, @@ -186,10 +194,14 @@ >>18 beshort 75 Digital VAX, >>18 beshort 97 NatSemi 32k, >>18 beshort 0x9026 Alpha (unofficial), +>>18 beshort 0xa390 IBM S/390 (obsolete), >>20 belong 0 invalid version >>20 belong 1 version 1 >>36 belong 1 MathCoPro/FPU/MAU Required ->8 string >\0 (%s) +# Up to now only 0, 1 and 2 are defined; I've seen a file with 0x83, it seemed +# like proper ELF, but extracting the string had bad results. +>4 byte <0x80 +>>8 string >\0 (%s) >8 string \0 >>7 byte 0 (SYSV) >>7 byte 1 (HP-UX) |