MCPcopy Create free account
hub / github.com/buger/jsonparser / runEncodingJSONGates

Function runEncodingJSONGates

encoding_json_fuzz_test.go:627–635  ·  view source on GitHub ↗

============================================================================= Gate runner (runs Gates A–G on a single input) ============================================================================= runEncodingJSONGates runs every gate (except the deterministic-depth Gate D, which is handled sep

(t *testing.T, data []byte)

Source from the content-addressed store, hash-verified

625// D, which is handled separately) on a single input. Gate A (no-panic) is
626// enforced inside each gate via encodingJSONNoPanic.
627func runEncodingJSONGates(t *testing.T, data []byte) {
628 t.Helper()
629 runValidConsistencyGate(t, data) // Gate B
630 runRoundTripGate(t, data) // Gate C
631 runStreamingConsistencyGate(t, data) // Gate E
632 runTransformGate(t, data) // Gate F
633 runDifferentialGate(t, data) // Gate G
634 runMarshalDeterminismGate(t, data) // Gate I (DETERMINISM)
635}
636
637// =============================================================================
638// The fuzzer (testing.F, native go-fuzz)

Callers 2

FuzzEncodingJSONFunction · 0.85

Calls 6

runValidConsistencyGateFunction · 0.85
runRoundTripGateFunction · 0.85
runTransformGateFunction · 0.85
runDifferentialGateFunction · 0.85

Tested by

no test coverage detected