mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-17 18:40:50 +00:00
adding fuzzer for espeak_synth (#1178)
* 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>
This commit is contained in:
co-authored by
kmamadoudram
yocvito
Samuel Thibault
parent
9decedb8c2
commit
1f76c4b8bd
@@ -22,21 +22,21 @@ jobs:
|
||||
include:
|
||||
- sanitizer: "no"
|
||||
deps: ""
|
||||
configflags: ""
|
||||
configflags: "-g -Og -fno-omit-frame-pointer"
|
||||
config: ""
|
||||
build_env: ""
|
||||
check_env: ""
|
||||
|
||||
- sanitizer: "address"
|
||||
deps: ""
|
||||
configflags: "-fsanitize=address -g -Og"
|
||||
configflags: "-fsanitize=address -g -Og -fno-omit-frame-pointer"
|
||||
config: ""
|
||||
build_env: "ASAN_OPTIONS=detect_leaks=0"
|
||||
check_env: "ASAN_OPTIONS=detect_leaks=0"
|
||||
|
||||
- sanitizer: "leak"
|
||||
deps: ""
|
||||
configflags: '-fsanitize=leak -g -Og'
|
||||
configflags: '-fsanitize=leak -g -Og -fno-omit-frame-pointer'
|
||||
config: ""
|
||||
build_env: "LSAN_OPTIONS=fast_unwind_on_malloc=0"
|
||||
check_env: "LSAN_OPTIONS=fast_unwind_on_malloc=0"
|
||||
@@ -44,28 +44,28 @@ jobs:
|
||||
- sanitizer: "memory"
|
||||
deps: "clang"
|
||||
configenv: "CC=clang CXX=clang++"
|
||||
configflags: "-fsanitize=memory -fsanitize-memory-track-origins=2 -g -Og"
|
||||
configflags: "-fsanitize=memory -fsanitize-memory-track-origins=2 -g -Og -fno-omit-frame-pointer"
|
||||
config: "--without-pcaudiolib"
|
||||
build_env: "MSAN_OPTIONS=exitcode=42"
|
||||
check_env: "MSAN_OPTIONS=exitcode=42"
|
||||
|
||||
- sanitizer: "thread"
|
||||
deps: ""
|
||||
configflags: "-fsanitize=thread -g -Og"
|
||||
configflags: "-fsanitize=thread -g -Og -fno-omit-frame-pointer"
|
||||
config: ""
|
||||
build_env: ""
|
||||
check_env: ""
|
||||
|
||||
- sanitizer: "undefined"
|
||||
deps: ""
|
||||
configflags: "-fsanitize=undefined -g -Og"
|
||||
configflags: "-fsanitize=undefined -g -Og -fno-omit-frame-pointer"
|
||||
config: ""
|
||||
build_env: "UBSAN_OPTIONS=halt_on_error=1"
|
||||
check_env: "UBSAN_OPTIONS=halt_on_error=1"
|
||||
|
||||
- sanitizer: "valgrind"
|
||||
deps: "libtool-bin valgrind"
|
||||
configflags: '-g -Og'
|
||||
configflags: '-g -Og -fno-omit-frame-pointer'
|
||||
config: ""
|
||||
build_env: 'VALGRIND="libtool --mode=execute valgrind --track-origins=yes --leak-check=full --error-exitcode=1" '
|
||||
check_env: 'VALGRIND="libtool --mode=execute valgrind --track-origins=yes --leak-check=full --error-exitcode=1" '
|
||||
|
||||
Reference in New Issue
Block a user