fuzzverify

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2026 License: AGPL-3.0 Imports: 19 Imported by: 0

Documentation

Overview

Package fuzzverify inventories and runs every contracted Go fuzz target.

Index

Constants

View Source
const SchemaVersion = "v1alpha1"

Variables

This section is empty.

Functions

func Verify

func Verify(ctx context.Context, root string, contract Contract, stdout, stderr io.Writer) error

Types

type Contract

type Contract struct {
	SchemaVersion    string   `json:"schema_version"`
	FuzzTime         string   `json:"fuzztime"`
	FuzzMinimizeTime string   `json:"fuzzminimizetime"`
	Parallel         int      `json:"parallel"`
	Timeout          string   `json:"timeout"`
	MaxCorpusFiles   int      `json:"max_corpus_files_per_target"`
	MaxCorpusBytes   int64    `json:"max_corpus_bytes_per_target"`
	Targets          []Target `json:"targets"`
}

func Load

func Load(path string) (Contract, error)

func (Contract) Validate

func (contract Contract) Validate() error

type Target

type Target struct {
	Package string `json:"package"`
	Name    string `json:"name"`
}

func Discover

func Discover(root string) ([]Target, error)

Jump to

Keyboard shortcuts

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