]> granicus.if.org Git - file/commitdiff
Update from Ed Schouten (kill old OSABI stuff add new hosts)
authorChristos Zoulas <christos@zoulas.com>
Thu, 2 Jun 2016 12:36:30 +0000 (12:36 +0000)
committerChristos Zoulas <christos@zoulas.com>
Thu, 2 Jun 2016 12:36:30 +0000 (12:36 +0000)
magic/Magdir/elf

index d818088c8c5623c12ecd9f69f664ba8c2c818678..f237afdab9ac7393de326f2add636f3766b725b5 100644 (file)
@@ -1,6 +1,6 @@
 
 #------------------------------------------------------------------------------
-# $File: elf,v 1.68 2014/09/19 19:05:57 christos Exp $
+# $File: elf,v 1.69 2015/06/16 17:23:08 christos Exp $
 # elf:  file(1) magic for ELF executables
 #
 # We have to check the byte order flag to see what byte order all the
 >>0    use             elf-le
 >5     byte            2               MSB
 >>0    use             \^elf-le
-# 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)
->>7    byte            2               (NetBSD)
->>7    byte            3               (GNU/Linux)
->>7    byte            4               (GNU/Hurd)
->>7    byte            5               (86Open)
->>7    byte            6               (Solaris)
->>7    byte            7               (Monterey)
->>7    byte            8               (IRIX)
->>7    byte            9               (FreeBSD)
->>7    byte            10              (Tru64)
->>7    byte            11              (Novell Modesto)
->>7    byte            12              (OpenBSD)
->8      string          \2
->>7     byte            13              (OpenVMS)
->>7    byte            97              (ARM)
->>7    byte            255             (embedded)
+>7     byte            0               (SYSV)
+>7     byte            1               (HP-UX)
+>7     byte            2               (NetBSD)
+>7     byte            3               (GNU/Linux)
+>7     byte            4               (GNU/Hurd)
+>7     byte            5               (86Open)
+>7     byte            6               (Solaris)
+>7     byte            7               (Monterey)
+>7     byte            8               (IRIX)
+>7     byte            9               (FreeBSD)
+>7     byte            10              (Tru64)
+>7     byte            11              (Novell Modesto)
+>7     byte            12              (OpenBSD)
+>7     byte            13              (OpenVMS)
+>7     byte            14              (HP NonStop Kernel)
+>7     byte            15              (AROS Research Operating System)
+>7     byte            16              (FenixOS)
+>7     byte            17              (Nuxi CloudABI)
+>7     byte            97              (ARM)
+>7     byte            255             (embedded)