gvisor: cifuzz fix (#6951)

This commit is contained in:
DavidKorczynski 2021-12-02 11:13:07 +00:00 committed by GitHub
parent 0bed7945b3
commit ff66332a4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -15,7 +15,7 @@
################################################################################
FROM gcr.io/oss-fuzz-base/base-builder-go
RUN git clone --depth 1 --branch go https://github.com/google/gvisor
RUN git clone https://github.com/google/gvisor
COPY build.sh state_fuzzer.go $SRC/
ENV GVISOR_ROOT $SRC/gvisor
WORKDIR $GVISOR_ROOT

View File

@ -15,5 +15,7 @@
#
################################################################################
# Checkout branch here as opposed to the Dockerfile to make CIFuzz happy
git checkout go
mv $SRC/state_fuzzer.go $GVISOR_ROOT/
compile_go_fuzzer gvisor.dev/gvisor FuzzStateLoad state_load_fuzz