mirror of https://github.com/google/oss-fuzz.git
Fixes radon build (#5267)
* Fixes radon build * Fixes lotus build for all fuzz targets * Fixes lotus
This commit is contained in:
parent
afd33be51e
commit
038808d7b5
|
@ -18,6 +18,12 @@
|
|||
make
|
||||
|
||||
compile_go_fuzzer github.com/filecoin-project/lotus/chain/types FuzzMessage fuzz_message gofuzz
|
||||
|
||||
cd ../fuzzing-lotus/fuzz
|
||||
# obsolete modules referenced
|
||||
rm -Rf libfuzzer
|
||||
go mod init github.com/filecoin-project/fuzzing-lotus/fuzz
|
||||
|
||||
compile_go_fuzzer github.com/filecoin-project/fuzzing-lotus/fuzz FuzzBlockMsg fuzz_block_msg
|
||||
compile_go_fuzzer github.com/filecoin-project/fuzzing-lotus/fuzz FuzzBlockMsgStructural fuzz_block_msg_structural
|
||||
compile_go_fuzzer github.com/filecoin-project/fuzzing-lotus/fuzz FuzzBlockHeader fuzz_block_header
|
||||
|
|
|
@ -15,6 +15,6 @@
|
|||
################################################################################
|
||||
|
||||
FROM gcr.io/oss-fuzz-base/base-builder
|
||||
RUN go get github.com/radondb/radon/src/fuzz/sqlparser@master
|
||||
RUN git clone --depth 1 https://github.com/radondb/radon
|
||||
COPY build.sh $SRC/
|
||||
WORKDIR $SRC/
|
||||
WORKDIR $SRC/radon
|
||||
|
|
|
@ -16,4 +16,6 @@
|
|||
################################################################################
|
||||
|
||||
|
||||
compile_go_fuzzer github.com/radondb/radon/src/fuzz/sqlparser Fuzz fuzz
|
||||
cd ./src/fuzz/sqlparser
|
||||
go mod init github.com/radondb/radon/src/fuzz/sqlparser
|
||||
compile_go_fuzzer . Fuzz fuzz
|
||||
|
|
Loading…
Reference in New Issue