https://kaitai.io/ #KaitaiStruct #BinaryData #DeclarativeMagic #ProgrammingLanguages #HackerNews #ngated
Kaitai Struct: declarative binary format parsing language
#HackerNews #KaitaiStruct #KaitaiBinaryParsing #BinaryFormats #Programming #Language #HackerNews
#KaitaiStruct, a cross-language binary format parser generator, released a new major version 0.11! Java and Python serialization, partial object tree in the Web IDE, import fixes, `valid/in-enum` to enforce defined enum values, null-terminated UTF-16 strings and much more!
https://kaitai.io/news/2025/09/07/kaitai-struct-v0.11-released.html
The beauty of #kaitaistruct is that I can reuse the parser from a different language. Today I adapted exactly the same code into a #binaryninja plugin that does all the magic using only a single command.
Recently I discovered that Qt apps have an option to store binary resources as part of the execution binary, this motivated me to create a simple #kaitaistruct parser for it.
This is an interactive demonstration how to parse binary blobs generated by the Qt Resource Compiler (rcc), which are registered within binaries using qRegisterResourceData function. Typically, binary blobs created by rcc comprise three main sections: The `tree` structure outlines the files and directories. Files are tagged with a last_modified timestamp. The `names` section, referenced by the tree nodes, contains binary checksums. The `payload` section includes the size and data of the file. Example: Consi
Hello world! Kaitai project and #KaitaiStruct finally got its own its own space in Fediverse!
If you're not familiar with us, we create declarative language for binary format specification โ see https://kaitai.io/ โ and tooling around it โ a compiler which transforms declarative specs into ready-made parsers in variety of programming languages, visualizers and IDE for rapid format spec development and much much more.
Watch this space for more news from us!