3 ms·
They probably are not Java bytecode despite using the same magic number: https://en.wikipedia.org/wiki/Java_class_file https://en.wikipedia.org/wiki/Java_class
by thesuperbigfrog 3y ago
They probably are not Java bytecode despite using the same magic number:
https://en.wikipedia.org/wiki/Java_class_file https://en.wikipedia.org/wiki/Java_class_file
- beardyw 3y agoI hope they are. Or else what is the use of a magic number?
- keepamovin 3y agoCool story: http://radio-weblogs.com/0100490/2003/01/28.html http://radio-weblogs.com/0100490/2003/01/28.html
- cpach 3y agoAFAICT the magic number here is cafe babe 0000 0002 0100 0007 0000 0003.
- thesuperbigfrog 3y agoYes. The same magic number (0xCAFEBABE) is being used for Java bytecode and Mach-O Multi-architecture binaries: https://en.wikipedia.org/wiki/Java_class_file https://en.wikipedia.org/wiki/Java_class_file https://en.wikipedia.org/wiki/Mach-O#Multi-architecture_binaries https://en.wikipedia.org/wiki/Mach-O#Multi-architecture_bina...