O'Reilly logo

Decompiling Android by Godfrey Nolan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter    5

Decompiler Design

The next two chapters focus on how to create the decompiler, which is in fact a cross-compiler that translates bytecode to source code. I cover the theory behind the relevant design decisions as they arise, but the intention is to provide enough background information to get you going rather than give you a full-blown chapter on compiler theory.

Don’t expect your decompiler, DexToSource to be more comprehensive or better than anything currently on the market; to be honest, it’s probably closer to Mocha than Jad or JD-GUI. As with most things, the first 80–90% is the easiest, and the last 10–20% takes much longer to complete. But DexToSource shows you in basic steps how to write a simple Android decompiler that ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required