2012-05-02 13:23:57 +02:00
|
|
|
|
2012-03-31 20:24:03 +02:00
|
|
|
#------------------------------------------------------------------------------
|
2013-12-06 12:04:52 +01:00
|
|
|
# $File: bsdi,v 1.6 2013/01/09 22:37:24 christos Exp $
|
2012-03-31 20:24:03 +02:00
|
|
|
# bsdi: file(1) magic for BSD/OS (from BSDI) objects
|
2013-12-06 12:04:52 +01:00
|
|
|
# Some object/executable formats use the same magic numbers as are used
|
|
|
|
# in other OSes; those are handled by entries in aout.
|
2012-03-31 20:24:03 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
0 lelong 0314 386 compact demand paged pure executable
|
|
|
|
>16 lelong >0 not stripped
|
|
|
|
>32 byte 0x6a (uses shared libs)
|
|
|
|
|
|
|
|
# same as in SunOS 4.x, except for static shared libraries
|
|
|
|
0 belong&077777777 0600413 sparc demand paged
|
|
|
|
>0 byte &0x80
|
|
|
|
>>20 belong <4096 shared library
|
|
|
|
>>20 belong =4096 dynamically linked executable
|
|
|
|
>>20 belong >4096 dynamically linked executable
|
|
|
|
>0 byte ^0x80 executable
|
|
|
|
>16 belong >0 not stripped
|
|
|
|
>36 belong 0xb4100001 (uses shared libs)
|
|
|
|
|
|
|
|
0 belong&077777777 0600410 sparc pure
|
|
|
|
>0 byte &0x80 dynamically linked executable
|
|
|
|
>0 byte ^0x80 executable
|
|
|
|
>16 belong >0 not stripped
|
|
|
|
>36 belong 0xb4100001 (uses shared libs)
|
|
|
|
|
|
|
|
0 belong&077777777 0600407 sparc
|
|
|
|
>0 byte &0x80 dynamically linked executable
|
|
|
|
>0 byte ^0x80 executable
|
|
|
|
>16 belong >0 not stripped
|
|
|
|
>36 belong 0xb4100001 (uses shared libs)
|