1327e51cbSPeter Avalos 2327e51cbSPeter Avalos#------------------------------------------------------------------------------ 3*614728caSSascha Wildner# $File: ibm6000,v 1.15 2021/07/03 14:01:46 christos Exp $ 4327e51cbSPeter Avalos# ibm6000: file(1) magic for RS/6000 and the RT PC. 5327e51cbSPeter Avalos# 6327e51cbSPeter Avalos0 beshort 0x01df executable (RISC System/6000 V3.1) or obj module 7327e51cbSPeter Avalos>12 belong >0 not stripped 8327e51cbSPeter Avalos# Breaks sun4 statically linked execs. 9327e51cbSPeter Avalos#0 beshort 0x0103 executable (RT Version 2) or obj module 10327e51cbSPeter Avalos#>2 byte 0x50 pure 11327e51cbSPeter Avalos#>28 belong >0 not stripped 12327e51cbSPeter Avalos#>6 beshort >0 - version %ld 13*614728caSSascha Wildner# GRR: line below is too general as it matches also TTComp archive, ASCII, 1K handled by ./archive 14327e51cbSPeter Avalos0 beshort 0x0104 shared library 15*614728caSSascha Wildner# GRR: line below is too general as it matches also TTComp archive, ASCII, 2K handled by ./archive 16327e51cbSPeter Avalos0 beshort 0x0105 ctab data 17327e51cbSPeter Avalos0 beshort 0xfe04 structured file 18327e51cbSPeter Avalos0 string 0xabcdef AIX message catalog 19327e51cbSPeter Avalos0 belong 0x000001f9 AIX compiled message catalog 20327e51cbSPeter Avalos0 string \<aiaff> archive 21327e51cbSPeter Avalos0 string \<bigaf> archive (big format) 226fca56fbSSascha Wildner0 belong 0x09006bea AIX backup/restore format file 236fca56fbSSascha Wildner0 belong 0x09006fea AIX backup/restore format file 24327e51cbSPeter Avalos 25e8af9738SPeter Avalos0 beshort 0x01f7 64-bit XCOFF executable or object module 26e8af9738SPeter Avalos>20 belong 0 not stripped 27e8af9738SPeter Avalos# GRR: this test is still too general as it catches also many FATs of DOS filesystems 28e8af9738SPeter Avalos4 belong &0x0feeddb0 29e8af9738SPeter Avalos# real core dump could not be 32-bit and 64-bit together 30e8af9738SPeter Avalos>7 byte&0x03 !3 AIX core file 31e8af9738SPeter Avalos>>1 byte &0x01 fulldump 32e8af9738SPeter Avalos>>7 byte &0x01 32-bit 33e8af9738SPeter Avalos>>>0x6e0 string >\0 \b, %s 34e8af9738SPeter Avalos>>7 byte &0x02 64-bit 35e8af9738SPeter Avalos>>>0x524 string >\0 \b, %s 36