1234567891011121314151617181920212223242526 |
- #!/usr/bin/env bash
- set -e
- fuzzerFiles=$(find $SRC/open62541/tests/fuzz/ -name "*.cc")
- for F in $fuzzerFiles; do
- fuzzerName=$(basename $F .cc)
- if [ -d "$SRC/open62541/tests/fuzz/${fuzzerName}_corpus" ]; then
- zip -jr $OUT/${fuzzerName}_seed_corpus.zip $SRC/open62541/tests/fuzz/${fuzzerName}_corpus/
- fi
- done
- cp $OUT/fuzz_binary_message_seed_corpus.zip $OUT/fuzz_tcp_message_seed_corpus.zip
- cp $SRC/open62541/tests/fuzz/*.dict $SRC/open62541/tests/fuzz/*.options $OUT/
- SRC=$SRC/open62541/deps $SRC/open62541/deps/mdnsd/tests/fuzz/oss-fuzz-copy.sh
|