Decompiling Java by Godfrey Nolan

By Godfrey Nolan

Both Java and .NET use the belief of a "virtual machine," or VM. And whereas VMs are beneficial for a few reasons, they undermine the protection of your resource code, simply because production might be reversed, or decompiled. Which makes this distinct e-book super worthwhile: you want to comprehend decompilation, to correctly safeguard your highbrow property.

for instance, how safe is your code once you run an obfuscator? The ebook will solution questions like this, and supply extra thorough information regarding Java byte codes and the Java digital computing device (JVM) than the other ebook out there. This e-book redresses the imbalance by means of offering insights into the gains and barriers of brand new decompilers and obfuscators, and delivering a close examine what JVMs truly do.

Show description

Read or Download Decompiling Java PDF

Similar java books

Java 2 Enterprise Edition Bible

Welcome to Java 2 firm version Bible. This e-book, that's a stick to as much as Java 2 Bible, is for readers who desire to be aware of extra in regards to the company marketplace. firm programming is a sizzling subject nowadays, as increasingly more businesses come to a decision they wish a web presence to enrich their current bricks?

Component Development for the Java Platform

In case you are interested by writing parts in Java, this ebook makes a speciality of the part providers you must grasp. DevelopMentor leader Scientist Stuart Halloway provides unheard of, in-depth insurance of writing, deploying, and preserving Java elements. Halloway starts off by way of exhibiting the right way to use, keep watch over, and troubleshoot parts.

Java Programming: From Problem Analysis to Program Design, 4th Edition

Designed for the start programming scholar, this e-book will inspire novices whereas educating basic programming ideas. according to years of school room trying out, this fourth variation of JAVA™ PROGRAMMING: FROM challenge research TO software layout techniques programming with a spotlight on transparent factors and perform - severe elements in getting to know the Java language.

Tuscany SCA in Action

Tuscany SCA in motion is a accomplished, hands-on advisor for constructing technology-agnostic, extensible purposes. by means of following a travel-booking instance during the ebook, you are going to how you can version, compose, installation, and deal with purposes utilizing SCA. The booklet emphasizes functional issues, like successfully utilizing Tuscany's supported bindings and protocols and integrating with ordinary applied sciences like Spring and JMS to save lots of improvement time and price.

Extra resources for Decompiling Java

Example text

Class has no field information. This is simply because the classfile has no instance variables. As a result, you need to make some simple changes to the original code to declare some variables in the classfile before anything will show up in the classfile fields (see Listing 2-9). In this listing, you also make them static and final to force a ConstantValue field attribute. Listing 2-9. ", w,h); } } 38 Ghost in the Machine If you pull out the relevant section in the XML, you see that there are three fields.

Human Interface's Fields 3 Ox0018 16 17 1 ConstantValue 2 8 Ox0018 19 20 1 ConstantValue 2 21 Ox0018 22 20 1 39 Chapter2 ConstantValue 2 23 Field Access flags, as shown in Table 2-4, tell you whether the field is public, private, protected, static, final, volatile, or transient.

Magic Number It's pretty easy to find the magic and version numbers because they come at the start of the classffie-you should be able to make them out in Listing 2-2. , OxCAFEBABE), and it just tells the JVM that it is receiving a classffie. Curiously enough, these are also the first four bytes in multiarchitecture binary (MAB) IDes on the NeXT platform. I guess some cross-pollination of staff must have occurred between Sun and NeXT during early implementations of Java. OxCAFEBABE was chosen for a number of reasons.

Download PDF sample

Rated 4.68 of 5 – based on 14 votes