encoding/pem — validation proof

Go’s own encoding/pem test suite, converted to C# by go2cs, built against the converted standard library, run under the Go-semantics test host, and compared verdict for verdict against a clean go test -json baseline of the same sources. This page is generated by the converter from that comparison — it is the evidence behind the encoding/pem row in Validated Test Packages.

Validated 2026-09-22 · converter c6fdbe73c

18 matched · 0 disclosed — Go 1.24.13, windows/amd64, converted package src/core/encoding/pem.

Measured at Release (tiered JIT off), oracle go version go1.24.13 windows/amd64.

Verdicts

Test go test go2cs
TestBadDecode pass pass
TestBadEncode pass pass
TestCVE202224675 pass pass
TestDecode pass pass
TestDecodeStrangeCases pass pass
TestDecodeStrangeCases/invalid_section_(not_base64) pass pass
TestDecodeStrangeCases/leading_garbage pass pass
TestDecodeStrangeCases/leading_garbage_on_block pass pass
TestDecodeStrangeCases/leading_malformed_BEGIN pass pass
TestDecodeStrangeCases/leading_partial_block pass pass
TestDecodeStrangeCases/multiple_BEGIN pass pass
TestDecodeStrangeCases/multiple_END pass pass
TestEncode pass pass
TestFuzz pass pass
TestGetLine pass pass
TestJustEnd pass pass
TestLineBreaker pass pass
TestMissingEndTrailer pass pass

Excluded declarations

Declarations filtered from both sides of the comparison, and therefore not claimed above: Benchmark, Fuzz and Example declarations the converted host does not execute, plus any test requiring a capability the managed runtime does not provide — a testing member the host has not implemented, or a platform behavior it provably cannot reproduce. Each is named with the capability it needs.