• Miek Gieben's avatar
    Add fuzzing infrastructure (#1118) · 4276d29b
    Miek Gieben authored
    Fix file/fuzz.go build and docs in Makefile.fuzz
    Each plugin can add a fuzz.go to join the fuzzing craze.
    pkg/fuzz/do.go could be made a lot smarter, but is probably good enough
    for starters.
    
    $ make -f Makefile.fuzz <plugin>
    
    will build with go-fuzz-build and then execute a go-fuzz run. Each
    plugin's fuzz run uses a per-plugin directory to store the fuzz data.
    4276d29b
fuzz.go 344 Bytes