mirror of https://github.com/google/oss-fuzz.git
[cifuzz] Allow specifying corpus for run_fuzzer (#5064)
This commit is contained in:
parent
f2756d7321
commit
de2ecf8553
|
@ -26,7 +26,7 @@ DEBUGGER=${DEBUGGER:-}
|
|||
FUZZER=$1
|
||||
shift
|
||||
|
||||
CORPUS_DIR="/tmp/${FUZZER}_corpus"
|
||||
CORPUS_DIR=${CORPUS_DIR:-"/tmp/${FUZZER}_corpus"}
|
||||
|
||||
SANITIZER=${SANITIZER:-}
|
||||
if [ -z $SANITIZER ]; then
|
||||
|
@ -63,8 +63,8 @@ function get_dictionary() {
|
|||
fi
|
||||
}
|
||||
|
||||
rm -rf $CORPUS_DIR && mkdir $CORPUS_DIR
|
||||
rm -rf $FUZZER_OUT && mkdir $FUZZER_OUT
|
||||
rm -rf $CORPUS_DIR && mkdir -p $CORPUS_DIR
|
||||
rm -rf $FUZZER_OUT && mkdir -p $FUZZER_OUT
|
||||
|
||||
SEED_CORPUS="${FUZZER}_seed_corpus.zip"
|
||||
|
||||
|
|
Loading…
Reference in New Issue