ci: fuzz: clean up fuzzer script a bit
All checks were successful
Gentoo Utils / build-oci-image (push) Successful in 7s
Gentoo Utils / grep (push) Successful in 2s
Gentoo Utils / check-format (push) Successful in 8s
Gentoo Utils / docs (push) Successful in 12s
Gentoo Utils / build (push) Successful in 20s
Gentoo Utils / test (push) Successful in 29s
Gentoo Utils / fuzz (push) Successful in 47s
All checks were successful
Gentoo Utils / build-oci-image (push) Successful in 7s
Gentoo Utils / grep (push) Successful in 2s
Gentoo Utils / check-format (push) Successful in 8s
Gentoo Utils / docs (push) Successful in 12s
Gentoo Utils / build (push) Successful in 20s
Gentoo Utils / test (push) Successful in 29s
Gentoo Utils / fuzz (push) Successful in 47s
This commit is contained in:
15
scripts/atom_parser_fuzz.sh
Executable file
15
scripts/atom_parser_fuzz.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
in=$(mktemp -u) || exit $?
|
||||
out=$(mktemp -u) || exit $?
|
||||
|
||||
mkfifo ${in} ${out} || exit $?
|
||||
|
||||
./scripts/atom.py <${in} >${out} \
|
||||
| ./build/fuzz/atom/parser/fuzzer >${in} <${out} \
|
||||
./build/atom_parser_fuzzer_corpus \
|
||||
-max_total_time=${FUZZER_TIMEOUT_S:-600} \
|
||||
-only_ascii=1 \
|
||||
-timeout=2 \
|
||||
-timeout_exitcode=0 \
|
||||
"$@"
|
||||
Reference in New Issue
Block a user