Centipede fixes. (#8417)

- Replace newlines with spaces in centipede/clang-flags.txt. Build
  systems don't like them.

- Fix a missing newline in output logs.
This commit is contained in:
Oliver Chang 2022-09-06 17:41:13 +10:00 committed by GitHub
parent fb187e47d2
commit 91acda2611
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@
#
################################################################################
echo -n "Skipping compilation; using precompiled centipede"
echo "Skipping compilation; using precompiled centipede"
export BIN_DIR="$SRC/centipede/bazel-bin/"
@ -26,7 +26,7 @@ fi
cp "$BIN_DIR/libcentipede_runner.pic.a" "$LIB_FUZZING_ENGINE"
export DFTRACING_FLAGS='-fsanitize-coverage=trace-loads'
export CENTIPEDE_FLAGS=`cat "$SRC/centipede/clang-flags.txt"`
export CENTIPEDE_FLAGS=`cat "$SRC/centipede/clang-flags.txt" | tr '\n' ' '`
export LIBRARIES_FLAGS="-ldl -lrt -lpthread $SRC/centipede/weak.o"
export CC='/clang/bin/clang'
export CCC='/clang/bin/clang++'