Context Parsing (Not Only) of the Object-File-Format Description Language
Computer Science and Information Systems, Tome 10 (2013) no. 4.

Voir la notice de l'article provenant de la source Computer Science and Information Systems website

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, priority function, attributed grammar, decompilation, Lissom, ELF
@article{CSIS_2013_10_4_a9,
     author = {Jakub Kroustek and Dusan Kolar},
     title = {Context {Parsing} {(Not} {Only)} of the {Object-File-Format} {Description} {Language}},
     journal = {Computer Science and Information Systems},
     publisher = {mathdoc},
     volume = {10},
     number = {4},
     year = {2013},
     url = {http://geodesic.mathdoc.fr/item/CSIS_2013_10_4_a9/}
}
TY  - JOUR
AU  - Jakub Kroustek
AU  - Dusan Kolar
TI  - Context Parsing (Not Only) of the Object-File-Format Description Language
JO  - Computer Science and Information Systems
PY  - 2013
VL  - 10
IS  - 4
PB  - mathdoc
UR  - http://geodesic.mathdoc.fr/item/CSIS_2013_10_4_a9/
ID  - CSIS_2013_10_4_a9
ER  - 
%0 Journal Article
%A Jakub Kroustek
%A Dusan Kolar
%T Context Parsing (Not Only) of the Object-File-Format Description Language
%J Computer Science and Information Systems
%D 2013
%V 10
%N 4
%I mathdoc
%U http://geodesic.mathdoc.fr/item/CSIS_2013_10_4_a9/
%F CSIS_2013_10_4_a9
Jakub Kroustek; Dusan Kolar. Context Parsing (Not Only) of the Object-File-Format Description Language. Computer Science and Information Systems, Tome 10 (2013) no. 4. http://geodesic.mathdoc.fr/item/CSIS_2013_10_4_a9/