fuzzsupport

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package fuzzsupport supports generating random syntactically-sound JSON logs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JSONLogStream

type JSONLogStream []byte

JSONLogStream is an alias for []byte so that a cmp.Transformer can be used in tests.

type JSONLogs

type JSONLogs struct {
	Data   JSONLogStream
	NLines int
}

JSONLogs is a sequence of JSON logs.

func (*JSONLogs) UnmarshalText

func (l *JSONLogs) UnmarshalText(in []byte) error

UnmarshalText turns a particular binary format (described by the code below ;) into a stream of JSON logs.

Directories

Path Synopsis
cmd
readLogCorpus
Command readLogCorpus reads files named on the command-line, translating them from the fuzzer's corpus file format to raw JSON logs.
Command readLogCorpus reads files named on the command-line, translating them from the fuzzer's corpus file format to raw JSON logs.

Jump to

Keyboard shortcuts

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