skipper: add more fuzz targets and dictionaries to improve coverage. (#11278)

adds more fuzz targets and also dictionaries to improve the coverage.

continuation of https://github.com/zalando/skipper/pull/2745

Signed-off-by: Sepehrdad Sh <26747519+sepehrdaddev@users.noreply.github.com>
This commit is contained in:
Sepehrdad 2023-11-29 16:22:33 +01:00 committed by GitHub
parent 457bb5f5d4
commit 52403a5b23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 1 deletions

View File

@ -15,4 +15,10 @@
#
################################################################################
compile_go_fuzzer github.com/zalando/skipper/eskip FuzzParse FuzzParse
for target in $(find $SRC/skipper/fuzz/fuzz_targets -name 'Fuzz*.go'); do
target_basename=$(basename -s .go $target)
compile_go_fuzzer github.com/zalando/skipper/fuzz/fuzz_targets $target_basename $target_basename gofuzz
done
mv $SRC/skipper/fuzz/dictionaries/*.dict $OUT/