1 2#------------------------------------------------------------------------------ 3# $File: bsdi,v 1.9 2024/03/31 15:06:56 christos Exp $ 4# bsdi: file(1) magic for BSD/OS (from BSDI) objects 5# Some object/executable formats use the same magic numbers as are used 6# in other OSes; those are handled by entries in aout. 7# 8 90 lelong 0314 i386 compact demand paged pure executable 10>16 lelong >0 not stripped 11>32 byte 0x6a (uses shared libs) 12 13# Update: Joerg Jenderek 14# same as in SunOS 4.x, except for static shared libraries 15# Note: was also called "a.out SunOS SPARC demand paged" by ./sun v 1.28 160 belong&077777777 0600413 SPARC demand paged 17>0 byte &0x80 18>>20 belong <4096 shared library 19>>20 belong =4096 dynamically linked executable 20>>20 belong >4096 dynamically linked executable 21#!:mime application/x-foo-executable 22# typically no file name suffix for executables 23!:ext / 24>0 byte ^0x80 executable 25>16 belong >0 not stripped 26>36 belong 0xb4100001 (uses shared libs) 27 280 belong&077777777 0600410 SPARC pure 29>0 byte &0x80 dynamically linked executable 30>0 byte ^0x80 executable 31>16 belong >0 not stripped 32>36 belong 0xb4100001 (uses shared libs) 33 340 belong&077777777 0600407 SPARC 35>0 byte &0x80 dynamically linked executable 36>0 byte ^0x80 executable 37>16 belong >0 not stripped 38>36 belong 0xb4100001 (uses shared libs) 39