本站源代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 line
291B

  1. #! /bin/sh
  2. set -eu
  3. go get github.com/dvyukov/go-fuzz/go-fuzz
  4. go get github.com/dvyukov/go-fuzz/go-fuzz-build
  5. if [ ! -e toml-fuzz.zip ]; then
  6. go-fuzz-build github.com/pelletier/go-toml
  7. fi
  8. rm -fr fuzz
  9. mkdir -p fuzz/corpus
  10. cp *.toml fuzz/corpus
  11. go-fuzz -bin=toml-fuzz.zip -workdir=fuzz
上海开阖软件有限公司 沪ICP备12045867号-1