Beyond protoc --decode: Schema Inference, Lossless Decoding, and...
summary
prototools demos a practical workflow: reproto extracts and decompiles embedded FileDescriptorSets (example: Google Maps/Places proto rebuilt), prototext auto-inferrs message types from a corpus and preserves every non‑canonical byte, and Proto Lens lets analysts apply overrides and heat‑map matches across a big descriptor DB (25 MB, ~8,000 files, tens of thousands of types). Examples show detecting shadowed repeated fields, catching an exposed API key, and producing a byte-exact lossless round trip after auto-inference across thousands of types.
AI-written summary · about
chapters (15)
- 0:00Introduction and context
- 1:08Protools suite overview
- 2:36Demo scenario setup
- 3:18Decoding with missing schema
- 4:46Extracting schema with Protoscan
- 5:50Inspecting decompiled schema
- 6:55Inferring type with Prototext
- 7:38Proto Lens interactive analysis
- 10:55Analyzing log file with Proto Lens
- 12:23Applying type overrides
- 15:59Expanding schema corpus
- 17:02Full typing with Google APIs
- 18:27Detecting encoding anomalies
- 20:31Reporting findings
- 22:00Key takeaways summary








