From 0c8e75203ed2201631f61def280da17ddc4bccdd Mon Sep 17 00:00:00 2001 From: Marius van der Wijden Date: Tue, 17 Oct 2023 11:16:30 +0200 Subject: [PATCH] oss-fuzz: try fixing build --- oss-fuzz.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/oss-fuzz.sh b/oss-fuzz.sh index 5a81255a3e..7bc1daf016 100644 --- a/oss-fuzz.sh +++ b/oss-fuzz.sh @@ -70,6 +70,10 @@ function compile_fuzzer() { echo "Building $fuzzer" cd $path + # Install build dependencies + go install github.com/AdamKorcz/go-118-fuzz-build@latest + go get github.com/AdamKorcz/go-118-fuzz-build/testing + # Test if file contains a line with "func $function" and "testing.F". if [ $(grep -r "func $function" $path | grep "testing.F" | wc -l) -eq 1 ] then