Result Details

Context Parsing (Not Only) of the Object-File-Format Description Language

KŘOUSTEK, J.; KOLÁŘ, D. Context Parsing (Not Only) of the Object-File-Format Description Language. Computer Science and Information Systems, 2013, vol. 10, no. 4, p. 1673-1702. ISSN: 1820-0214.
Type
journal article
Language
English
Authors
Křoustek Jakub, Ing., Ph.D., DIFS (FIT)
Kolář Dušan, doc. Dr. Ing., DIFS (FIT)
Abstract

The very first step of each tool such as linker, disassembler, or debugger is parsing of an input executable or object file. These files are stored in one of the existing object file formats (OFF). Retargetable tools are not limited to any particular target platform and they have to deal with handling of several OFFs. Handling of these formats is similar to parsing of computer languages - both of them have a predefined structure and a list of allowed constructions. However, OFF constructions are heavily mutually interconnected and they create context-sensitive units. In present, there is no generic system, which can be used for OFF description and its effective parsing.

In this paper, we propose a formal language that can be used for OFF description. Furthermore, we present a design of a context parser of this language that is based on the formal models. The major advance of this solution is an ability to describe context-sensitive properties on the level of the language itself. This concept is planned to be used in the existing retargetable decompiler developed within the Lissom project. In this project, the language and its parser will be used for an object file parsing and its automatic conversion into the internal uniform file format. It is important to say that the concept of this parser can be utilized within other programming languages.

Keywords

object file format, context parsing, scattered context grammar,
attributed grammar, priority function, decompilation, Lissom, ELF

URL
Published
2013
Pages
1673–1702
Journal
Computer Science and Information Systems, vol. 10, no. 4, ISSN 1820-0214
DOI
UT WoS
000327912000009
BibTeX
@article{BUT103492,
  author="Jakub {Křoustek} and Dušan {Kolář}",
  title="Context Parsing (Not Only) of the Object-File-Format Description Language",
  journal="Computer Science and Information Systems",
  year="2013",
  volume="10",
  number="4",
  pages="1673--1702",
  doi="10.2298/CSIS130120071K",
  issn="1820-0214",
  url="http://www.comsis.org/"
}
Projects
Advanced recognition and presentation of multimedia data, BUT, Vnitřní projekty VUT, FIT-S-11-2, start: 2011-01-01, end: 2013-12-31, completed
Centrum excelence IT4Innovations, MŠMT, Operační program Výzkum a vývoj pro inovace, ED1.1.00/02.0070, start: 2011-01-01, end: 2015-12-31, completed
Security-Oriented Research in Information Technology, MŠMT, Institucionální prostředky SR ČR (např. VZ, VC), MSM0021630528, start: 2007-01-01, end: 2013-12-31, running
System for Support of Platform Independent Malware Analysis in Executable Files, TAČR, Program aplikovaného výzkumu a experimentálního vývoje ALFA, TA01010667, start: 2011-01-01, end: 2013-12-31, completed
Validace spustitelného kódu pro systémy průmyslové automatizace pomocí zpětného překladu, BUT, Vnitřní projekty VUT, FEKT/FIT-J-13-2000, start: 2013-01-01, end: 2013-12-31, completed
Research groups
Departments
Back to top