Publication detail

Generic Plugin-Based Converter of Object File Formats and Its Usage in Retargetable Decompilation

KŘOUSTEK, J. MATULA, P. ĎURFINA, L.

Original Title

Generic Plugin-Based Converter of Object File Formats and Its Usage in Retargetable Decompilation

English Title

Generic Plugin-Based Converter of Object File Formats and Its Usage in Retargetable Decompilation

Type

conference paper

Language

en

Original Abstract

The objective of a decompiler (i.e. reverse compiler) is to translate a binary file into a high level language (HLL) representation. One of the preliminary tasks of retargetable decompilation is to handle different platform-specific object file formats on its input. This paper presents a concept of a generic object file format converter, which supports conversions between several commonly used object file formats (e.g. ELF, PE) and the LOFF format, which is used in the Lissom project. The basic information about algorithms manipulating these formats is described. The conversion is done by mapping all critical information from one format structure to another. The conversion from the common formats into the LOFF format is important for the Lissom retargetable decompiler because the LOFF format is used for its internal code representation. However, we also briefly describe utilization of an opposite conversion in the Lissom project. The result is a plugin-based application capable of creating valid executable files in all the mentioned formats. Experimental results can be found at the end of the paper.

English abstract

The objective of a decompiler (i.e. reverse compiler) is to translate a binary file into a high level language (HLL) representation. One of the preliminary tasks of retargetable decompilation is to handle different platform-specific object file formats on its input. This paper presents a concept of a generic object file format converter, which supports conversions between several commonly used object file formats (e.g. ELF, PE) and the LOFF format, which is used in the Lissom project. The basic information about algorithms manipulating these formats is described. The conversion is done by mapping all critical information from one format structure to another. The conversion from the common formats into the LOFF format is important for the Lissom retargetable decompiler because the LOFF format is used for its internal code representation. However, we also briefly describe utilization of an opposite conversion in the Lissom project. The result is a plugin-based application capable of creating valid executable files in all the mentioned formats. Experimental results can be found at the end of the paper.

Keywords

object file conversion, object file formats, decompilation, Lissom, LOFF, ELF, PE, E32Image, Mach-O, DEX, BFD

RIV year

2011

Released

16.11.2011

Publisher

Ministry of Education, Science, Youth and Sports of Ukraine, Lviv Polytechnic National University, Institute of Computer Science and Information Technologies

Location

Lviv

ISBN

978-966-2191-04-2

Book

Proceedings of the 6th International Scientific and Technical Conference (CSIT'2011)

Edition

NEUVEDEN

Edition number

NEUVEDEN

Pages from

127

Pages to

130

Pages count

4

BibTex


@inproceedings{BUT76478,
  author="Jakub {Křoustek} and Peter {Matula} and Lukáš {Ďurfina}",
  title="Generic Plugin-Based Converter of Object File Formats and Its Usage in Retargetable Decompilation",
  annote="The objective of a decompiler (i.e. reverse compiler) is to translate a binary
file into a high level language (HLL) representation. One of the preliminary
tasks of retargetable decompilation is to handle different platform-specific
object file formats on its input. This paper presents a concept of a generic
object file format converter, which supports conversions between several commonly
used object file formats (e.g. ELF, PE) and the LOFF format, which is used in the
Lissom project. The basic information about algorithms manipulating these formats
is described. The conversion is done by mapping all critical information from one
format structure to another. The conversion from the common formats into the LOFF
format is important for the Lissom retargetable decompiler because the LOFF
format is used for its internal code representation. However, we also briefly
describe utilization of an opposite conversion in the Lissom project. The result
is a plugin-based application capable of creating valid executable files in all
the mentioned formats. Experimental results can be found at the end of the
paper.",
  address="Ministry of Education, Science, Youth and Sports of Ukraine, Lviv Polytechnic National University, Institute of Computer Science and Information Technologies",
  booktitle="Proceedings of the 6th International Scientific and Technical Conference (CSIT'2011)",
  chapter="76478",
  edition="NEUVEDEN",
  howpublished="print",
  institution="Ministry of Education, Science, Youth and Sports of Ukraine, Lviv Polytechnic National University, Institute of Computer Science and Information Technologies",
  year="2011",
  month="november",
  pages="127--130",
  publisher="Ministry of Education, Science, Youth and Sports of Ukraine, Lviv Polytechnic National University, Institute of Computer Science and Information Technologies",
  type="conference paper"
}