mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 21:39:47 +00:00
* Add: fuzzer files and modifications in config & compil * add configure.ac change * add minimize-corpus.sh * add fuzzing directory and readme * add to check if CC support libfuzzer * Make workflow dump the crash POC * Add debugging information * Run fuzzing only once a week for now Co-authored-by: kmamadoudram <kalilou.mamadou-drame@etu.u-bordeaux.fr> Co-authored-by: yocvito <nicolas.morel@etu.u-bordeaux.fr> Co-authored-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
25 lines
1.1 KiB
Bash
Executable File
25 lines
1.1 KiB
Bash
Executable File
#!/bin/sh
|
|
|
|
echo -n "testing files for executable bits that shouldn't be executable ... "
|
|
|
|
find * -executable -type f | \
|
|
grep -vE "compile|config\.(guess|status|sub)|configure|depcomp|install-sh|libtool|missing" | # Ignore autotools output \
|
|
grep -vE ".*\.test|tests/common|src(/\.libs)?/(e?speak-ng|.*\.so\..*)|src/\.libs/lt-espeak-ng|android" | # Ignore built programs and libraries \
|
|
grep -vE ".*\.sh|tools/emoji" | # Ignore helper scripts \
|
|
grep -vE "src/ucd-tools/tools/(.*\.py|mkencodingtable)" | # Ignore ucd-tools helper scripts \
|
|
grep -vE "tests/.libs|src/ucd-tools/tests/print(ucd|c)data(_cpp)?" | # Ignore ucd-tools test programs \
|
|
grep -vE "tests/fuzzing/.*\.py" | #Ignore fuzzing python helper script
|
|
grep -vE "tests/fuzzing/.*\.sh" | #Ignore fuzzing python helper script
|
|
tee tests/non-executable-files-with-executable-bit.check > /dev/null
|
|
|
|
if [ -s tests/non-executable-files-with-executable-bit.check ] ; then
|
|
echo "found"
|
|
cat tests/non-executable-files-with-executable-bit.check
|
|
false
|
|
else
|
|
rm tests/non-executable-files-with-executable-bit.check
|
|
echo "none found"
|
|
true
|
|
fi
|
|
|