News for hackers. Stuff that matters.
Re:I reverse engineered Google Docs to play back any documen... by londons_explore on Saturday December 26, 2020 @06:14PM (#25547230)
Sending around protobufs encoded as JSON makes reverse engineering much easier than you might imagine. I can just imagine what the internal .proto files must look like - especially the arrangement/ordering of fields which tells you how the software design evolved. Two fields with tags next to eachother? They're probably part of the same feature and they were added by the same person as part of the same commit.
Re:I reverse engineered Google Docs to play back any documen... by harikb on Saturday December 26, 2020 @06:37PM (#25547384)
Edit: u meant encoded as Json - never mind.

Just curious, how does Protobuf make it easier? Easier than Json? Protobuf doesn’t even include field names or readable descriptors - unless of course you are talking about reading client side JS

Re:I reverse engineered Google Docs to play back any documen... by londons_explore on Saturday December 26, 2020 @07:14PM (#25547569)
Not easier than JSON, but it's much easier than reversing some C++ structs that some webassembly based application might send over the wire...

Messages and submessages and arrays make figuring out what data is what very easy for the most part.