diff options
Diffstat (limited to 'magic/Magdir/cafebabe')
-rw-r--r-- | magic/Magdir/cafebabe | 41 |
1 files changed, 13 insertions, 28 deletions
diff --git a/magic/Magdir/cafebabe b/magic/Magdir/cafebabe index ea4846d..4c58fc6 100644 --- a/magic/Magdir/cafebabe +++ b/magic/Magdir/cafebabe @@ -1,6 +1,6 @@ #------------------------------------------------------------------------------ -# $File: cafebabe,v 1.12 2013/01/11 16:45:23 christos Exp $ +# $File: cafebabe,v 1.17 2015/01/01 17:07:00 christos Exp $ # Cafe Babes unite! # # Since Java bytecode and Mach-O universal binaries have the same magic number, @@ -16,8 +16,8 @@ # ### JAVA START ### 0 belong 0xcafebabe -!:mime application/x-java-applet >4 belong >30 compiled Java class data, +!:mime application/x-java-applet >>6 beshort x version %d. >>4 beshort x \b%d # Which is which? @@ -43,36 +43,21 @@ ### JAVA END ### ### MACH-O START ### -# 16777216 = 0x01000000 -0 name mach-o \b [ ->0 belong 0xffffffff \bAny ->0 belong 1 \bVax ->0 belong 6 \bMC680x0 ->0 belong 7 \bI386 ->0 belong 8 \bMIPS ->0 belong 10 \bMC98000 ->0 belong 11 \bHPPA ->0 belong 12 \bARM ->0 belong 13 \bMC88000 ->0 belong 14 \bSPARC ->0 belong 15 \bI860 ->0 belong 16 \bALPHA ->0 belong 17 \bPOWERPC ->0 belong 16777223 \bX86_64 ->0 belong 16777233 \bPOWERPC64 ->&(8.L) indirect : +0 name mach-o \b [ +>0 use mach-o-cpu \b +>(8.L) indirect \b: >0 belong x \b] 0 belong 0xcafebabe >4 belong 1 Mach-O universal binary with 1 architecture: ->>8 use mach-o +>>8 use mach-o \b >4 belong >1 ->>4 belong <20 Mach-O universal binary with %ld architectures: ->>>8 use mach-o ->>>28 use mach-o ->>>4 belong >2 ->>>>48 use mach-o ->>>>>4 belong >3 ->>>>>68 use mach-o +>>4 belong <20 Mach-O universal binary with %d architectures: +>>>8 use mach-o \b +>>>28 use mach-o \b +>>4 belong >2 +>>>48 use mach-o \b +>>4 belong >3 +>>>68 use mach-o \b ### MACH-O END ### |