Skip to content

Commit

Permalink
golang: fix broken build (#12908)
Browse files Browse the repository at this point in the history
Needed to bump golang version.

Signed-off-by: Adam Korczynski <[email protected]>
  • Loading branch information
AdamKorcz authored Jan 6, 2025
1 parent 922fc40 commit f1c00f6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions projects/golang/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion projects/golang/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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/

Expand Down

0 comments on commit f1c00f6

Please sign in to comment.