|
Authored by: Anonymous on Thursday, April 26 2012 @ 06:11 PM EDT |
Decompiling is not magic. It's just a special way of making sense out of the
Java bytecode, something we can already do with debuggers and whatnot.
Note that it does NOT give you back the original source code. Rather, it abuses
the fact that almost everyone uses the same compiler (javac) and uses special
knowledge of how that particular compiler compiles things to give you Java
source code. This source code does not contain things like the original
comments or indeed anything that did not exist somewhere in the bytecode. The
source is not necessarily exact, either. But it is a lot easier to read than a
raw assembly listing.
And yes, I have decompiled things before. There are also obfuscation programs
that mix things up just to confuse decompilers. If you want to play with one,
look up "JAD" (Java Decompiler) and go decompile something. Better
yet, write up your own Java program, then decompile that, so you can see exactly
what is preserved or not preserved.[ Reply to This | Parent | # ]
|
|
Authored by: Anonymous on Thursday, April 26 2012 @ 06:27 PM EDT |
Sometime you need to revrse engineer the code because the documentation is
either incomplete or wrong.
Microsoft documentation is a prime example.[ Reply to This | Parent | # ]
|
- De-Compiling - Authored by: Anonymous on Friday, April 27 2012 @ 12:44 AM EDT
|
|
|
|