...

Text file src/github.com/pelletier/go-toml/fuzz.sh

Documentation: github.com/pelletier/go-toml

     1#! /bin/sh
     2set -eu
     3
     4go get github.com/dvyukov/go-fuzz/go-fuzz
     5go get github.com/dvyukov/go-fuzz/go-fuzz-build
     6
     7if [ ! -e toml-fuzz.zip ]; then
     8    go-fuzz-build github.com/pelletier/go-toml
     9fi
    10
    11rm -fr fuzz
    12mkdir -p fuzz/corpus
    13cp *.toml fuzz/corpus
    14
    15go-fuzz -bin=toml-fuzz.zip -workdir=fuzz

View as plain text