github.com/prysmaticlabs/prysm@v1.4.4/tools/fuzz_wrapper.sh (about)

     1  #!/bin/bash
     2  
     3  set -e
     4  
     5  # A wrapper for libfuzz tests that sets test undeclared outputs directory as the first corpus
     6  # which libfuzz will write to and the artifact prefix to write any crashes.
     7  
     8  $1 "$TEST_UNDECLARED_OUTPUTS_DIR" "${@:2}" -artifact_prefix="$TEST_UNDECLARED_OUTPUTS_DIR"/