java 804 B

1234567891011121314151617181920212223
  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. 0 belong 0xcececece Java JCE KeyStore
  12. # Dalvik .dex format. http://retrodev.com/android/dexformat.html
  13. # From <mkf@google.com> "Mike Fleming"
  14. 0 string dex\n
  15. >0 regex dex\n[0-9][0-9][0-9]\0 Dalvik dex file
  16. >4 string >000 version %s
  17. 0 string dey\n
  18. >0 regex dey\n[0-9][0-9][0-9]\0 Dalvik dex file (optimized for host)
  19. >4 string >000 version %s