PYXIDA Institutional Repository
and Digital Library
 Home
Collections :

Title :Java decompiler using machine translation techniques
Creator :Chatzilenas, Christos
Χατζηλένας, Χρήστος
Contributor :Spinellis, Diomidis (Επιβλέπων καθηγητής)
Athens University of Economics and Business, Department of Informatics (Degree granting institution)
Type :Text
Extent :50p.
Language :en
Abstract :A decompiler is a computer program that converts an executable file or low-level/machine language into a format that is understandable to software programmers. Even though a decompiler may not always reconstruct perfectly the original source code, it remains an important tool for reverse engineering of computer software. The process of decompilation is very useful for the recovery of lost source code, for analyzing and understanding software whose code is not available, even for computer security in some cases. In this thesis, in order to address the decompilation problem we transform it to a translation problem which can be solved using machine translation. Two approaches are studied, statistical and neural machine translation, using two open-source tools Moses and OpenNMT, respectively. Maven repositories are retrieved from GitHub in order to form the dataset and an appropriate procedure is used to construct the parallel corpora. In this context experiments in Moses are not successful while the result of translation using neural machine translation, is fairly good. The difference between the decompiler presented in this thesis and existing Java decompilers is the fact that it can translate bytecode snippets. Additionally, this approach can be extended to produce better results by recovering variables, methods, class names and comments. Finally, this study illustrates that the Java source code which is produced from the decompilation procedure is useful. However, extending it may produce better results.
Subject :Java decompiler
Statistical machine translation
Neural machine translation
Moses
OpenNMT
Date :29-06-2018
Licence :

File: Chatzilenas_2018.pdf

Type: application/pdf