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…
Kaitai: Describe the structure of data, not how you read or write it
11–20 of 66 posts
Re: Kaitai: Describe the structure of data, not how you read or write it
#12This is very interesting, but just curious, when would you use something like this versus, say, protobufs?
If I understand it correctly, katai generates for you the reader as well, while protobuf generates only the data container. Katai is more a sort of protobuf + grpc for reading data.
gRPC is an RPC framework that uses Protobufs.
Re: Kaitai: Describe the structure of data, not how you read or write it
#13I 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…
Yikes, huge limitation. Guess I won't be looking into this any further.
Re: Kaitai: Describe the structure of data, not how you read or write it
#14This is very interesting, but just curious, when would you use something like this versus, say, protobufs?
Re: Kaitai: Describe the structure of data, not how you read or write it
#15I 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?
https://construct.readthedocs.io/en/latest/intro.html#exampl...
I’ve long searched for something better than Construct, but so far I have yet to find even an equal.
Re: Kaitai: Describe the structure of data, not how you read or write it
#16Re: Kaitai: Describe the structure of data, not how you read or write it
#17Earlier quoted context omitted.
Yikes, huge limitation. Guess I won't be looking into this any further.
It would be a CS breakthrough if it could... You're asking a lot...
Re: Kaitai: Describe the structure of data, not how you read or write it
#18Earlier quoted context omitted.
Yikes, huge limitation. Guess I won't be looking into this any further.
It would be a CS breakthrough if it could... You're asking a lot...
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.
Re: Kaitai: Describe the structure of data, not how you read or write it
#19Re: Kaitai: Describe the structure of data, not how you read or write it
#20Recently I learned about some pretty cool work using it with respect to high-energy physics: