golang: fix broken build (#12908)

Needed to bump golang version.

Signed-off-by: Adam Korczynski <adam@adalogics.com>
This commit is contained in:
AdamKorcz 2025-01-06 14:49:10 +00:00 committed by GitHub
parent 922fc407a7
commit f1c00f6675
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 1 deletions

View File

@ -23,6 +23,11 @@ RUN git clone --depth 1 https://github.com/golang/image
RUN git clone --depth 1 https://github.com/golang/crypto
RUN git clone --depth 1 https://github.com/golang/text
RUN git clone --depth 1 https://github.com/AdamKorcz/instrumentation
RUN wget https://go.dev/dl/go1.23.4.linux-amd64.tar.gz \
&& mkdir temp-go \
&& rm -rf /root/.go/* \
&& tar -C temp-go/ -xzf go1.23.4.linux-amd64.tar.gz \
&& mv temp-go/go/* /root/.go/
COPY build.sh text_fuzzer.go \
math_big_fuzzer.go \
fuzz_tar_reader.go \

View File

@ -134,7 +134,7 @@ compile_go_fuzzer regexpPackage FuzzFindMatchApis fuzz_find_match_apis
cp $SRC/h2c_fuzzer.go $SRC/net/http2/h2c/
cd $SRC/net/http2/h2c
cd $SRC/instrumentation && go run main.go --target_dir=$SRC/net --check_io_length=true && cd -
go mod tidy -e -go=1.16 && go mod tidy -e -go=1.17
go mod tidy
compile_go_fuzzer . FuzzH2c fuzz_x_h2c
mv $SRC/fuzz_x_h2c.options $OUT/