3 cargo install --force honggfuzz
4 for TARGET in fuzz_targets/*; do
5 FILENAME=$(basename $TARGET)
7 if [ -d hfuzz_input/$FILE ]; then
8 HFUZZ_INPUT_ARGS="-f hfuzz_input/$FILE/input"
10 HFUZZ_BUILD_ARGS="--features honggfuzz_fuzz" HFUZZ_RUN_ARGS="-N1000000 --exit_upon_crash -v $HFUZZ_INPUT_ARGS" cargo hfuzz run $FILE
12 if [ -f hfuzz_workspace/$FILE/HONGGFUZZ.REPORT.TXT ]; then
13 cat hfuzz_workspace/$FILE/HONGGFUZZ.REPORT.TXT
14 for CASE in hfuzz_workspace/$FILE/SIG*; do