github.com/lzhfromustc/gofuzz@v0.0.0-20211116160056-151b3108bbd1/docker/builder/entrypoint.sh (about)

     1  #!/bin/bash -e
     2  OUTPUT_DIR=/builder
     3  
     4  # build native part
     5  cd /repos/grpc-go
     6  exclude_paths="(abi)|(fuzzer)|(integration)" /gofuzz/scripts/gen-test-bins.sh $OUTPUT_DIR/grpc/native
     7  
     8  
     9  # instrument runtime, code and do instrumentation part
    10  /gofuzz/scripts/patch-go-runtime.sh
    11  cd /repos/grpc-go
    12  /gofuzz/goFuzz/scripts/instrument.py .
    13  exclude_paths="(abi)|(fuzzer)|(integration)" /gofuzz/scripts/gen-test-bins.sh $OUTPUT_DIR/grpc/inst