Some checks failed
Docker. / Ubuntu (push) Has been cancelled
User-agent updater. / User-agent (push) Failing after 15s
Lock Threads / lock (push) Failing after 10s
Waiting for answer. / waiting-for-answer (push) Failing after 22s
Close stale issues and PRs / stale (push) Successful in 13s
Needs user action. / needs-user-action (push) Failing after 8s
Can't reproduce. / cant-reproduce (push) Failing after 8s
24 lines
514 B
Bash
Executable File
24 lines
514 B
Bash
Executable File
#!/bin/bash -eu
|
|
|
|
# This script is called by the oss-fuzz main project when compiling the fuzz
|
|
# targets. This script is regression tested by travisoss.sh.
|
|
|
|
# Save off the current folder as the build root.
|
|
export BUILD_ROOT=$PWD
|
|
|
|
echo "CC: $CC"
|
|
echo "CXX: $CXX"
|
|
echo "LIB_FUZZING_ENGINE: $LIB_FUZZING_ENGINE"
|
|
echo "CFLAGS: $CFLAGS"
|
|
echo "CXXFLAGS: $CXXFLAGS"
|
|
echo "OUT: $OUT"
|
|
|
|
export MAKEFLAGS+="-j$(nproc)"
|
|
|
|
pushd ossfuzz
|
|
make V=1 all
|
|
popd
|
|
|
|
# Copy the fuzzers to the target directory.
|
|
cp -v ossfuzz/*_fuzzer $OUT/
|