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 #------------------------------------------------------------
7 # From Martin Pool (m.pool@pharos.com.au)
8 0 beshort 0xaced Java serialization data
9 >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
16 # Dalvik .dex format. http://retrodev.com/android/dexformat.html
17 # From <mkf@google.com> "Mike Fleming"
19 >0 regex dex\n[0-9][0-9][0-9]\0 Dalvik dex file
20 >4 string >000 version %s
22 >0 regex dey\n[0-9][0-9][0-9]\0 Dalvik dex file (optimized for host)
23 >4 string >000 version %s