MCPcopy Create free account
hub / github.com/MiloOweno/kernel-lab / FuzzStatelessEncoder

Function FuzzStatelessEncoder

network/vpack/rapid_test.go:188–230  ·  view source on GitHub ↗

FuzzStatelessEncoder is a fuzz test that generates random votes, encodes them as msgpack, and uses them to seed the Go fuzzer. If they are valid, they will also be decompressed. Since the fuzzer is generating random data that StatelessEncoder expects to be valid msgpack-encoded votes, this test is

(f *testing.F)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 11

CompressVoteMethod · 0.95
DecompressVoteMethod · 0.95
PartitionTestFunction · 0.92
EncodeMsgpFunction · 0.92
EncodeReflectFunction · 0.92
generateRandomVoteFunction · 0.85
NewStatelessEncoderFunction · 0.85
NewStatelessDecoderFunction · 0.85
AddMethod · 0.65
FatalfMethod · 0.65
EqualMethod · 0.45

Tested by

no test coverage detected