summaryrefslogtreecommitdiff
path: root/magic/Magdir/ibm6000
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@baserock.org>2015-01-02 20:23:27 +0000
committer <>2015-02-03 17:27:18 +0000
commit670c2bbcffe873a2b8589ed140c12e7923ef20c0 (patch)
tree41044880e826d60621a2d636ed71283de5e0e291 /magic/Magdir/ibm6000
parent3b49db406667ee7189b9ea69b9d9e0bdcc43c5b7 (diff)
downloadfile-670c2bbcffe873a2b8589ed140c12e7923ef20c0.tar.gz
Imported from /home/lorry/working-area/delta_file/file-5.22.tar.gz.file-5.22
Diffstat (limited to 'magic/Magdir/ibm6000')
-rw-r--r--magic/Magdir/ibm600017
1 files changed, 10 insertions, 7 deletions
diff --git a/magic/Magdir/ibm6000 b/magic/Magdir/ibm6000
index df27491..7f45072 100644
--- a/magic/Magdir/ibm6000
+++ b/magic/Magdir/ibm6000
@@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
-# $File: ibm6000,v 1.11 2013/01/08 20:13:01 christos Exp $
+# $File: ibm6000,v 1.12 2013/09/16 15:12:42 christos Exp $
# ibm6000: file(1) magic for RS/6000 and the RT PC.
#
0 beshort 0x01df executable (RISC System/6000 V3.1) or obj module
@@ -20,9 +20,12 @@
0 beshort 0x01f7 64-bit XCOFF executable or object module
>20 belong 0 not stripped
-4 belong &0x0feeddb0 AIX core file
->1 byte &0x01 fulldump
->7 byte &0x01 32-bit
->>0x6e0 string >\0 \b, %s
->7 byte &0x02 64-bit
->>0x524 string >\0 \b, %s
+# GRR: this test is still too general as it catches also many FATs of DOS filesystems
+4 belong &0x0feeddb0
+# real core dump could not be 32-bit and 64-bit together
+>7 byte&0x03 !3 AIX core file
+>>1 byte &0x01 fulldump
+>>7 byte &0x01 32-bit
+>>>0x6e0 string >\0 \b, %s
+>>7 byte &0x02 64-bit
+>>>0x524 string >\0 \b, %s