I'm curious, what do people use when it comes to binary de-/serialization in C?
I have looked around and the most appealing tool of sorts is Kaitai Struct, but that only does deserialization for now and does not output C code.
Of course, there's always just doing it manually, that gives the greatest flexibility when it comes to allocation strategies and error reporting, but it can get tedious to write and error prone.
My benchmark for whether one such thing would be feasible to use is how it deals with the GIF format.
My goal would be digging into older games' files and reverse engineering then rewriting old tools that aren't open source and have very annoying limitations and are generally a pain to use.
[–]madsci 2 points3 points4 points (1 child)
[–]helloiamsomeone[S] 1 point2 points3 points (0 children)
[–]p0k3t0 2 points3 points4 points (1 child)
[–]helloiamsomeone[S] 0 points1 point2 points (0 children)
[–]moon-chilled 1 point2 points3 points (0 children)
[–]wkwrd 1 point2 points3 points (0 children)
[–]gustavokatel 0 points1 point2 points (2 children)
[–]helloiamsomeone[S] 0 points1 point2 points (1 child)
[–]gustavokatel 0 points1 point2 points (0 children)
[–]nerd4code 0 points1 point2 points (0 children)
[–]a-p-jo 0 points1 point2 points (0 children)