Chapter 2. Decompiling Classes

 

“When all else fails, read the manual.”

 
 --Murphy's Technology Laws

Determining When to Decompile

In an ideal world, decompilation would probably be unnecessary, except when learning how other people who don't like to write good documentation implemented a certain feature. In the real world, however, there are often situations where a direct reference to the source code can be the best, if not the only, solution. Here are some of the reasons to decompile:

  • Recovering the source code that was accidentally lost

  • Learning the ...

Get Covert Java™: Techniques for Decompiling, Patching, and Reverse Engineering now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.