hfuzz: separate _workspace and _input directories, add workspace to .gitignore
This commit is contained in:
parent
335035447d
commit
c1f024779f
|
@ -1,6 +1,10 @@
|
|||
target
|
||||
Cargo.lock
|
||||
|
||||
#fuzz
|
||||
fuzz/hfuzz_target
|
||||
fuzz/hfuzz_workspace
|
||||
|
||||
#IntelliJ project files
|
||||
.idea
|
||||
*.iml
|
||||
|
|
|
@ -4,7 +4,11 @@ cargo install --force honggfuzz
|
|||
for TARGET in fuzz_targets/*; do
|
||||
FILENAME=$(basename $TARGET)
|
||||
FILE="${FILENAME%.*}"
|
||||
HFUZZ_BUILD_ARGS="--features honggfuzz_fuzz" HFUZZ_RUN_ARGS="-N1000000 --exit_upon_crash -v" cargo hfuzz run $FILE
|
||||
if [ -d hfuzz_input/$FILE ]; then
|
||||
HFUZZ_INPUT_ARGS="-f hfuzz_input/$FILE/input"
|
||||
fi
|
||||
HFUZZ_BUILD_ARGS="--features honggfuzz_fuzz" HFUZZ_RUN_ARGS="-N1000000 --exit_upon_crash -v $HFUZZ_INPUT_ARGS" cargo hfuzz run $FILE
|
||||
|
||||
if [ -f hfuzz_workspace/$FILE/HONGGFUZZ.REPORT.TXT ]; then
|
||||
cat hfuzz_workspace/$FILE/HONGGFUZZ.REPORT.TXT
|
||||
for CASE in hfuzz_workspace/$FILE/SIG*; do
|
||||
|
|
Loading…
Reference in New Issue