java 934 B

1234567891011121314151617181920212223242526
  1. #------------------------------------------------------------
  2. # $File: java,v 1.12 2009/09/19 16:28:10 christos Exp $
  3. # Java ByteCode and Mach-O binaries (e.g., Mac OS X) use the
  4. # same magic number, 0xcafebabe, so they are both handled
  5. # in the entry called "cafebabe".
  6. #------------------------------------------------------------
  7. # Java serialization
  8. # From Martin Pool (m.pool@pharos.com.au)
  9. 0 beshort 0xaced Java serialization data
  10. >2 beshort >0x0004 \b, version %d
  11. 0 belong 0xfeedfeed Java KeyStore
  12. !:mime application/x-java-keystore
  13. 0 belong 0xcececece Java JCE KeyStore
  14. !:mime application/x-java-jce-keystore
  15. # Dalvik .dex format. http://retrodev.com/android/dexformat.html
  16. # From <mkf@google.com> "Mike Fleming"
  17. 0 string dex\n
  18. >0 regex dex\n[0-9][0-9][0-9]\0 Dalvik dex file
  19. >4 string >000 version %s
  20. 0 string dey\n
  21. >0 regex dey\n[0-9][0-9][0-9]\0 Dalvik dex file (optimized for host)
  22. >4 string >000 version %s