mirror of https://github.com/google/oss-fuzz.git
golang: fix broken build (#12908)
Needed to bump golang version. Signed-off-by: Adam Korczynski <adam@adalogics.com>
This commit is contained in:
parent
922fc407a7
commit
f1c00f6675
|
@ -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 \
|
||||
|
|
|
@ -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/
|
||||
|
||||
|
|
Loading…
Reference in New Issue