|
Model and declarative specification language of binary data formats
A. A. Evgina, M. A. Solovevab, V. A. Padaryanab a Ivannikov Institute for System Programming of the RAS
b Lomonosov Moscow State University
Abstract:
A number of tasks related to binary data formats include the tasks of parsing, generating and ñonjoint code and data analysis. A key element for all of these tasks is a universal data format model. This paper proposes an approach to modeling binary data formats. The described model is expressive enough to specify the most common data formats. The distinctive feature of the model its flexibility in specifying field locations, as well as the ability to describe external fields, which do not resolve into detailed structure during parsing. Implemented infrastructure allows to create and modify a model using application programming interfaces. An algorithm is proposed for parsing binary data by a model, based on the concept of computability of fields. The paper also presents a domain-specific language for data format specification. The specified formats and potential applications of the model for programmatic analysis of formatted data are indicated.
Keywords:
binary data formats, declarative formats specification, binary code analysis, ñonjoint code and data analysis.
Citation:
A. A. Evgin, M. A. Solovev, V. A. Padaryan, “Model and declarative specification language of binary data formats”, Proceedings of ISP RAS, 33:6 (2021), 27–50
Linking options:
https://www.mathnet.ru/eng/tisp644 https://www.mathnet.ru/eng/tisp/v33/i6/p27
|
Statistics & downloads: |
Abstract page: | 30 | Full-text PDF : | 30 |
|