check_decode

command
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

check_decode is the Go reference for the per-port `check-decode` binary driven by the protowire HARDENING conformance corpus. See:

protowire/docs/HARDENING.md
protowire/scripts/cross_security_check.sh
protowire/testdata/adversarial/README.md

Contract:

check_decode --format <pxf|pb|sbe|envelope> \
             --schema <fully.qualified.MessageType> \
             --proto  <path-to-adversarial.proto> \
             --input  <path>

Exit 0 → input was accepted
Exit 1 → input was rejected (clean error)
Other  → bug in the decoder (panic / abort / OOM / hang / ...)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL