Design of an automatically generated retargetable decompiler

  • Authors:
  • Lukáš Ďurfina;Jakub Křoustek;Petr Zemek;Dušan Kolář;Tomáš Hruška;Karel Masařík;Alexander Meduna

  • Affiliations:
  • Faculty of Information Technology, Brno University of Technology, Brno, Czech Republic;Faculty of Information Technology, Brno University of Technology, Brno, Czech Republic;Faculty of Information Technology, Brno University of Technology, Brno, Czech Republic;Faculty of Information Technology, Brno University of Technology, Brno, Czech Republic;Faculty of Information Technology, Brno University of Technology, Brno, Czech Republic;Faculty of Information Technology, Brno University of Technology, Brno, Czech Republic;Faculty of Information Technology, Brno University of Technology, Brno, Czech Republic

  • Venue:
  • CSCC'11 Proceedings of the 2nd international conference on Circuits, Systems, Communications & Computers
  • Year:
  • 2011

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper presents a concept of a retargetable reverse compiler (i.e. a decompiler). This tool translates platform-specific binary applications into a high-level language (HLL) representation. A Python-like language was chosen as the target language. Our unique solution is automatically generated from the target platform description in the architecture description language (ADL) ISAC. The decompiler core is build on top of the LLVM Compiler System. As can be seen from the proof of concept, we are able to automatically generate a decompiler producing a highly readable HLL code for a Sony® PlayStation® Portable (PSP™) platform while preserving the functional equivalency with the original application.