java 877 B

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