bsdi 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. #------------------------------------------------------------------------------
  2. # $File: bsdi,v 1.7 2014/03/29 15:40:34 christos Exp $
  3. # bsdi: file(1) magic for BSD/OS (from BSDI) objects
  4. # Some object/executable formats use the same magic numbers as are used
  5. # in other OSes; those are handled by entries in aout.
  6. #
  7. 0 lelong 0314 386 compact demand paged pure executable
  8. >16 lelong >0 not stripped
  9. >32 byte 0x6a (uses shared libs)
  10. # same as in SunOS 4.x, except for static shared libraries
  11. 0 belong&077777777 0600413 SPARC demand paged
  12. >0 byte &0x80
  13. >>20 belong <4096 shared library
  14. >>20 belong =4096 dynamically linked executable
  15. >>20 belong >4096 dynamically linked executable
  16. >0 byte ^0x80 executable
  17. >16 belong >0 not stripped
  18. >36 belong 0xb4100001 (uses shared libs)
  19. 0 belong&077777777 0600410 SPARC pure
  20. >0 byte &0x80 dynamically linked executable
  21. >0 byte ^0x80 executable
  22. >16 belong >0 not stripped
  23. >36 belong 0xb4100001 (uses shared libs)
  24. 0 belong&077777777 0600407 SPARC
  25. >0 byte &0x80 dynamically linked executable
  26. >0 byte ^0x80 executable
  27. >16 belong >0 not stripped
  28. >36 belong 0xb4100001 (uses shared libs)