bytecode-viewer icon indicating copy to clipboard operation
bytecode-viewer copied to clipboard

.jar files that will not decompile with any decompiler

Open rollsch opened this issue 6 years ago • 3 comments
trafficstars

I have some jar files that will not decompile with any of the decompilers. Other jar in the same program decompile suggesting everything is setup correctly. Is this common? Eg are obfuscators good enough to totally break 100% of java decompilers available?

If anyone is interested in a sample I can send you the files.

When I open these jar files I get the hex view and nothing else.

If I run JD-GUI on its own I get "INTERNAL ERROR" as the decompilation result.

rollsch avatar May 09 '19 06:05 rollsch

plz send the files here

apkunpacker avatar May 09 '19 08:05 apkunpacker

Might be some special characters in class file names breaking some stuff in relation to operating system and/or filesystem handling and/or decompiler used. At least Krakatau should produce a result in any case (if special chars are not messing it up) not seen any obfuscating crashing it. And just one which makes Krakatau run ~30 mins with pypy and generating thousands of lines of code because its using some jump stuff or so which cannot be put looped or something like that.

Janmm14 avatar May 09 '19 09:05 Janmm14

After further inspection It seems the jars are encrypted and decrypted by another class at runtime.

rollsch avatar May 10 '19 01:05 rollsch