mirror of https://github.com/google/oss-fuzz.git
[envoy] Add support for dictionaries (#3247)
* Add support for dictionaries Signed-off-by: Asra Ali <asraa@google.com> * multiple dictionaries Signed-off-by: Asra Ali <asraa@google.com> * find instead of mv Signed-off-by: Asra Ali <asraa@google.com>
This commit is contained in:
parent
2741c408c4
commit
5a00564e1d
|
@ -119,6 +119,8 @@ do
|
|||
mkdir -p "${CORPUS_UNTAR_PATH}"
|
||||
tar -C "${CORPUS_UNTAR_PATH}" -xvf bazel-bin/"${t}"_corpus_tar.tar
|
||||
TARGET_BASE="$(expr "$t" : '.*/\(.*\)_fuzz_test')"
|
||||
# There may be *.dict files in this folder that need to be moved into the OUT dir.
|
||||
find "${CORPUS_UNTAR_PATH}" -type f -name *.dict -exec mv -n {} "${OUT}"/ \;
|
||||
zip "${OUT}/${TARGET_BASE}"_fuzz_test_seed_corpus.zip \
|
||||
"${CORPUS_UNTAR_PATH}"/*
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue