/* Google Analytics ----------------------------------------------- */

Monday, February 16, 2009

how do you view the source of a compiled source code?

Assume that you've owned a web application, and that you have access to its compiled source codes (Java class files and .NET assembly files): how do you view the source?

The answer is pretty straightforward.

For Java, the tool of choice is jad - the fast JAva Decompiler. There is also the Java Decompiler which is based on a gui and is able to decompile Java 5/6 code.

The other tool when working on .NET web apps is Reflector for .NET. Reflector was built to examine any .NET-based codes. It includes a nice browser GUI that provides information such as classes, methods and properties of the assemblies. The good thing about Reflector it is plugin-based, which you can find here. One of the most interesting ones is the Graph plugins, which can show assemblies dependencies graphs, flow graphs and IL graphs.

For .net, you can also invest in mztools.