Detail výsledku

Generic Source Code Migration Using Decompilation

ĎURFINA, L.; KŘOUSTEK, J.; ZEMEK, P. Generic Source Code Migration Using Decompilation. 10th Annual Industrial Simulation Conference (ISC'2012). Brno: EUROSIS, 2012. p. 38-42. ISBN: 978-90-77381-71-7.
Typ
článek ve sborníku konference
Jazyk
anglicky
Autoři
Ďurfina Lukáš, Ing., Ph.D., FIT (FIT), UIFS (FIT)
Křoustek Jakub, Ing., Ph.D., FIT (FIT), UIFS (FIT)
Zemek Petr, Ing., Ph.D., FIT (FIT), UIFS (FIT)
Abstrakt

Many core parts of software applications have been written several decades ago, and they are still essential in several existing projects. However, maintaining these parts is difficult and expensive. The source language itself may be either ancient and ineffective, or its toolchain does not support new platforms and features. Source code migration to a newer language is often the only solution. In the past, several single-purpose converters have been created. However, such solutions are more or less limited to a particular language and computational platform. In this paper, we present a generic solution of this problem. The proposed solution is independent of any particular source or target language, or on the target platform. We utilize an existing retargetable decompiler and the LLVM Compiler System for the conversion process. At present, the Python language is used as the target language, while other languages are under development. As can be seen from the experimental results, we are able to migrate source code from many particular languages (e.g. C/C++, D, Fortran) into a functional equivalent and highly readable code in Python.

Klíčová slova

source code migration, analysis, transformation, retargetability, reverse engineering, decompilation, Lissom, LLVM, LLVM IR

Rok
2012
Strany
38–42
Sborník
10th Annual Industrial Simulation Conference (ISC'2012)
Konference
The Industrial Simulation Conference (ISC)
ISBN
978-90-77381-71-7
Vydavatel
EUROSIS
Místo
Brno
BibTeX
@inproceedings{BUT96941,
  author="Lukáš {Ďurfina} and Jakub {Křoustek} and Petr {Zemek}",
  title="Generic Source Code Migration Using Decompilation",
  booktitle="10th Annual Industrial Simulation Conference (ISC'2012)",
  year="2012",
  pages="38--42",
  publisher="EUROSIS",
  address="Brno",
  isbn="978-90-77381-71-7"
}
Projekty
Centrum excelence IT4Innovations, MŠMT, Operační program Výzkum a vývoj pro inovace, ED1.1.00/02.0070, zahájení: 2011-01-01, ukončení: 2015-12-31, ukončen
Pokročilé rozpoznávání a prezentace multimediálních dat, VUT, Vnitřní projekty VUT, FIT-S-11-2, zahájení: 2011-01-01, ukončení: 2013-12-31, ukončen
Systém pro podporu platformě nezávislé analýzy škodlivého kódu ve spustitelných souborech, TAČR, Program aplikovaného výzkumu a experimentálního vývoje ALFA, TA01010667, zahájení: 2011-01-01, ukončení: 2013-12-31, ukončen
Výzkum informačních technologií z hlediska bezpečnosti, MŠMT, Institucionální prostředky SR ČR (např. VZ, VC), MSM0021630528, zahájení: 2007-01-01, ukončení: 2013-12-31, řešení
Výzkumné skupiny
Pracoviště
Nahoru