Does anyone know of a format for declaring binary data formats, which can then be compiled into reader/writer code for various languages? I'm not looking for something like protocol buffers—this is explicitly for reverse engineering, so it would have to be something that can flexibly accommodate existing semi-arbitrary binary data.


You must log in to comment.

in reply to @nex3's post:

Oh, it isn’t. But that doesn’t mean people don’t do it. (And if it’s understood as a sort of pseudocode, with 1-byte alignment, 4-byte ints, a defined endianness, etc., then it does work fairly well for documentation purposes)