fuzz

package
v5.8.1 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2026 License: MIT Imports: 0 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package fuzz contains Go native fuzz targets.

These targets fuzz the boundary between dnsconfig.js and the Go code: a JSON document in the same shape that JSON.stringify(conf) produces is turned into a models.DNSConfig and pushed through the same pipeline that `dnscontrol` runs: record import, validation and normalization, and zonefile generation.

The targets are run as ordinary tests (seed corpus only) by `go test` and gotestsum. Actual fuzzing happens in the scheduled "Fuzzing" GitHub Actions workflow, which runs each target with -fuzz for a fixed time budget.

The JavaScript engine itself is intentionally not fuzzed: the PANIC() helper calls os.Exit(1), which kills fuzz workers, and the require()/glob() helpers expose the filesystem. Fuzzing the JS layer would need those to return errors instead.

Jump to

Keyboard shortcuts

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