Back to search

McGill University

New algorithms for a java decompiler and their implementation in Soot

Abstract

dc:description.abstract

This thesis presents Dava, a Java bytecode to Java source code decompiler built on top of the Soot framework. The Java Virtual Machine Specification of valid bytecode is much less restrictive than the Java Language Specification of valid Java source programs. For example, bytecode has unstructured control flow, loose local typing, and few restrictions on method modifiers. By contrast, the Java language has highly structured control flow, strong local typing, and many restrictions on its method modifiers. The goal of this thesis was to build a tool that could correctly decompile the widest range of verifiable Java bytecode back into compilable Java source. This includes bytecode coming from other source languages, bytecode that has undergone certain types of obfuscation, and optimized bytecode. To accomplish this goal we created the Structure Encapsulation Tree data structure and a set of new decompiling algorithms. The algorithms fall into three categories: regular control flow, exceptional control flow, and idioms.

Degree

thesis:*
Name thesis:degree_name
Master of Science
Grantor dc:publisher
McGill University
Year dc:date.issued
2003

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Miecznikowski, Jerome
Advisor dc:contributor.advisor
  • Hendren, L. (Supervisor)

Subjects

dc:subject × 1

Rights

dc:rights
Statement dc:rights
  • All items in eScholarship@McGill are protected by copyright with all rights reserved unless otherwise indicated.
Language dc:language.iso
en

Identifiers

dc:identifier.*
OCLC
899248099
Dc Identifier Other
hyrax:1v53jx639

Chain of custody

source
Harvested from
McGill University
Base URL
mcgill.scholaris.ca/server/oai/request
Last updated
2026-11-27
Source record
OAI-PMH GetRecord
related terms
citation

Miecznikowski, Jerome. New algorithms for a java decompiler and their implementation in Soot. McGill University, 2003. https://doi.org/10.82308/14995