Answer the question
In order to leave comments, you need to log in
Any Java byte code can be successfully decompiled and viewed?
Good afternoon,
I have some questions about reversing/decompiling.
Java code is executed on a Java machine, but nevertheless, if third-party ones (cryptors, obfuscators) were not used to complicate its decompilation, is it always possible to see exactly the original code?
Doesn't matter what we will decompile?
These can be any types of java applications containing java byte code, for example: apk, jar files... in any case, we can get the primary java code (once again, if cryptors, obfuscators were not used)?
For example, if a program is written in a high-level language and compiled into a binary, then the maximum that we can see is its assembler code (as far as I understand, it is not possible to translate the tasm / masm / fasm code into a high-level language into the original version) ... With Java, as far as I understand, things are a little different?
Answer the question
In order to leave comments, you need to log in
No, you will not receive the original code. It will lack comments, some constants, some calls may be inlined, the code will be more optimal (if optimization is enabled). I don’t know yet what about preprocessors and defines - but they won’t be there either, if they are in Java.
It is the completely original code that will not work (unless, of course, all debug symbols are included). The code will be restored to similar constructions, i.e.:
relatively speaking constructions
for(int i:0;i<100;i++){}
или
for(Object o: objects){}
и еще тонна вариантов
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question