Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCorpusForFuzzParseExpr ¶
GetCorpusForFuzzParseExpr returns the seed corpus for FuzzParseExpr.
func GetCorpusForFuzzParseMetricSelector ¶
func GetCorpusForFuzzParseMetricSelector() []string
GetCorpusForFuzzParseMetricSelector returns the seed corpus for FuzzParseMetricSelector.
func GetCorpusForFuzzParseMetricText ¶
func GetCorpusForFuzzParseMetricText() [][]byte
GetCorpusForFuzzParseMetricText returns the seed corpus for FuzzParseMetricText.
func GetCorpusForFuzzParseOpenMetric ¶
func GetCorpusForFuzzParseOpenMetric() [][]byte
GetCorpusForFuzzParseOpenMetric returns the seed corpus for FuzzParseOpenMetric.
Types ¶
type ChunkFuzzSeed ¶ added in v0.311.0
type ChunkFuzzSeed struct {
// Seed is the RNG seed used to generate sample timestamps and values.
Seed int64
// N drives the sample count: count = int(N)%120 + 1.
N uint8
// NaNMask forces StaleNaN on specific samples: bit i set means sample i
// uses StaleNaN instead of a random value.
NaNMask uint64
}
ChunkFuzzSeed is a seed corpus entry for FuzzXORChunk.
func GetCorpusForFuzzXORChunk ¶ added in v0.311.0
func GetCorpusForFuzzXORChunk() []ChunkFuzzSeed
GetCorpusForFuzzXORChunk returns the seed corpus for FuzzXORChunk.
type XOR2ChunkFuzzSeed ¶ added in v0.311.0
type XOR2ChunkFuzzSeed struct {
// Seed is the RNG seed used to generate sample timestamps and values.
Seed int64
// N drives the sample count: count = int(N)%120 + 1.
N uint8
// NaNMask forces StaleNaN on specific samples: bit i set means sample i
// uses StaleNaN instead of a random value.
NaNMask uint64
// STMode selects the start-timestamp pattern used by the fuzzer.
STMode uint8
}
XOR2ChunkFuzzSeed is a seed corpus entry for FuzzXOR2Chunk.
func GetCorpusForFuzzXOR2Chunk ¶ added in v0.311.0
func GetCorpusForFuzzXOR2Chunk() []XOR2ChunkFuzzSeed
GetCorpusForFuzzXOR2Chunk returns the seed corpus for FuzzXOR2Chunk.
Click to show internal directories.
Click to hide internal directories.