Storyyeller / Krakatau

Java decompiler, assembler, and disassembler
GNU General Public License v3.0
1.95k stars 219 forks source link

Decompile the metadata too #166

Open KOLANICH opened 4 years ago

KOLANICH commented 4 years ago

https://ci.appveyor.com/api/buildjobs/gtyiueue5u7joyiv/artifacts/compiler%2Fjvm%2Ftarget%2Fwindows%2Fkaitai-struct-compiler.msi (unpack it for example with lessmsi, contains a bunch of jars inside)

io/kaitaistruct/RuntimeConfig$.java

cfr:

@Override
public RuntimeConfig apply(boolean autoRead, boolean readStoresPos, boolean opaqueTypes, CppRuntimeConfig cppConfig, String goPackage, String javaPackage, String javaFromFileClass, String dotNetNamespace, String phpNamespace, String pythonPackage) {
    return new RuntimeConfig(autoRead, readStoresPos, opaqueTypes, cppConfig, goPackage, javaPackage, javaFromFileClass, dotNetNamespace, phpNamespace, pythonPackage);
}

krakatau:

public io.kaitai.struct.RuntimeConfig apply(boolean b, boolean b0, boolean b1, io.kaitai.struct.CppRuntimeConfig a, String s, String s0, String s1, String s2, String s3, String s4) {
    return new io.kaitai.struct.RuntimeConfig(b, b0, b1, a, s, s0, s1, s2, s3, s4);
}

io\kaitai\struct\Main.java

cfr:

@ScalaSignature(bytes="lot of bytes here")
public final class Main {

krakatau:

final public class Main {
Storyyeller commented 4 years ago

There's highly unlikely to be any significant feature development on Krakatau for the foreseeable future, but I'll keep this in mind in case that ever changes.