package fuzz
import "github.com/purpleidea/mgmt/lang/fuzz"
Index ¶
Functions ¶
func Fuzz ¶
Fuzz is repeatedly called by go-fuzz with semi-random inputs in an attempt to make the Lexer/Parser crash. From the go-fuzz docs: Data is a random input generated by go-fuzz, note that in most cases it is invalid. The function must return 1 if the fuzzer should increase priority of the given input during subsequent fuzzing (for example, the input is lexically correct and was parsed successfully); -1 if the input must not be added to corpus even if gives new coverage; and 0 otherwise; other values are reserved for future use.
Source Files ¶
- Version
- v0.0.0-20250322185616-c50a578426f1 (latest)
- Published
- Mar 22, 2025
- Platform
- linux/amd64
- Imports
- 2 packages
- Last checked
- 4 days ago –
Tools for package owners.