]> git.saurik.com Git - apple/file_cmds.git/blob - file/magdir/java
file_cmds-60.tar.gz
[apple/file_cmds.git] / file / magdir / java
1 #------------------------------------------------------------
2 # Java ByteCode
3 # From Larry Schwimmer (schwim@cs.stanford.edu)
4 #
5 # The Java magic number is the same as the Mach-O fat file magic number.
6 # Interestingly the the same guy, Mike DeMoney, of NeXT Inc. then of First
7 # Person (Sun) picked both numbers only a couple of years apart. To make
8 # the file(1) command work with both the Java Bytecode magic was merged with
9 # the Mach-O magic in the file mach.
10 #
11 #0 belong 0xcafebabe
12 #>4 belong 0x0003002d Java bytecode