Multiplatform Extensible Hex Editor
Karel Chwistek · Digital Repository (National Repository of Grey Literature) · 2025
This thesis presents the design and implementation of a multiplatform extensible hex editor with support for structured data visualization. Unlike traditional hex editors that display only the raw form of the binary data, the editor developed in this thesis allows users to view file contents according to a defined structure, making complex binary formats easier to interpret. To enable flexibility and extensibility, a custom domain- specific language (DSL) is introduced, allowing users to describe binary file structures in a concise and readable way. The DSL is based on C# syntax and is compiled into C# code using a Roslyn-based source generator. The parsing mechanism is based on custom modular parsing framework, which is designed to provide tools for describing arbitrary format. As part of the thesis, several common binary formats are described using the DSL and correctly parsed and displayed in the application. The result is a powerful and extensible tool for working with binary data across platforms.