I do love kaitai and recently contributed a grammar, but both the title and the copy talk about writing. > Reading and writing binary formats is hard... Kaitai Struct tries to make this job easier... Kaitai cannot write data back out. [1] This is a major limitation for me. It would be nice to use it as a mutation engine for fuzzing, but without being able to write it back out, it is mostly just beneficial for analysi…
Any other lib that also generates Encoder/Writer code?
Kaitai: Describe the structure of data, not how you read or write it
41–50 of 66 posts
Re: Kaitai: Describe the structure of data, not how you read or write it
#42Earlier quoted context omitted.
It would be a CS breakthrough if it could... You're asking a lot...
I might be missing something - why would this be a breakthrough? It sounds complicated to generate the interfaces, sure, but is there a theoretical problem blocking this, or just practical?
Re: Kaitai: Describe the structure of data, not how you read or write it
#43I do love kaitai and recently contributed a grammar, but both the title and the copy talk about writing. > Reading and writing binary formats is hard... Kaitai Struct tries to make this job easier... Kaitai cannot write data back out. [1] This is a major limitation for me. It would be nice to use it as a mutation engine for fuzzing, but without being able to write it back out, it is mostly just beneficial for analysi…
Any other lib that also generates Encoder/Writer code?
Re: Kaitai: Describe the structure of data, not how you read or write it
#44Earlier quoted context omitted.
Are we talking about different things? ASN.1 does more or less what I was hoping Kaitai can do. Where's the breakthrough? I just want to be able to describe network protocols in some "language" and generate code that can serialize/deserialize it.
Kaitai is designed to describe arbitrary, preexisting binary formats. You can’t do that with ASN.1.
Re: Kaitai: Describe the structure of data, not how you read or write it
#45Re: Kaitai: Describe the structure of data, not how you read or write it
#46Re: Kaitai: Describe the structure of data, not how you read or write it
#47Re: Kaitai: Describe the structure of data, not how you read or write it
#48Re: Kaitai: Describe the structure of data, not how you read or write it
#49This is a use-case for which a DSL is well-suited. They would be wise to abandon YAML.
Re: Kaitai: Describe the structure of data, not how you read or write it
#50I do love kaitai and recently contributed a grammar, but both the title and the copy talk about writing. > Reading and writing binary formats is hard... Kaitai Struct tries to make this job easier... Kaitai cannot write data back out. [1] This is a major limitation for me. It would be nice to use it as a mutation engine for fuzzing, but without being able to write it back out, it is mostly just beneficial for analysi…
Any other lib that also generates Encoder/Writer code?