diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2004-03-23 17:57:14 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2004-03-23 17:57:14 +0000 |
commit | c766bfb6d61fa318711854754b77083acd3c340b (patch) | |
tree | e15f72dac90583000d1ef6a9c668caab80f294bd | |
parent | e560cc5872bb79ba11e1a3b6bbbddbf39ddd09e3 (diff) |
Recognize amd64 binaries and coredumps; ok todd@ deraadt@ drahn@
-rw-r--r-- | usr.bin/file/magdir/OpenBSD | 2 | ||||
-rw-r--r-- | usr.bin/file/magdir/elf | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/usr.bin/file/magdir/OpenBSD b/usr.bin/file/magdir/OpenBSD index 61ff3907b64..b967521c328 100644 --- a/usr.bin/file/magdir/OpenBSD +++ b/usr.bin/file/magdir/OpenBSD @@ -262,3 +262,5 @@ >16 lelong >0 not stripped 0 belong&0377777777 043600507 OpenBSD/arm core >12 string >\0 from '%s' +0 belong&0377777777 047200507 OpenBSD/amd64 core +>12 string >\0 from '%s' diff --git a/usr.bin/file/magdir/elf b/usr.bin/file/magdir/elf index 69561a64b6d..a87cce1c9d2 100644 --- a/usr.bin/file/magdir/elf +++ b/usr.bin/file/magdir/elf @@ -42,6 +42,7 @@ >>18 leshort 20 PowerPC, >>18 leshort 40 ARM, >>18 leshort 43 Sparc64 - invalid byte order, +>>18 leshort 62 Amd64, >>18 leshort 75 VAX, >>18 leshort 0x9026 Alpha, >>20 lelong 0 invalid version @@ -72,7 +73,9 @@ >>18 beshort 17 VPP500, >>18 beshort 18 SPARC32PLUS, >>18 beshort 20 PowerPC, +>>18 beshort 40 ARM, >>18 beshort 43 Sparc64, +>>18 beshort 62 Amd64 - invalid byte order, >>18 beshort 75 VAX - invalid byte order, >>18 beshort 0x9026 Alpha, >>20 belong 0 invalid version |