mirror of https://github.com/google/oss-fuzz.git
envoy: remove UBSAN blacklist. (#2351)
This is no longer needed as we handle this Envoy-side. This should fix the build that has been broken since https://github.com/envoyproxy/envoy/pull/6610. Signed-off-by: Harvey Tuch <htuch@google.com>
This commit is contained in:
parent
1e88b4f948
commit
bf05a80651
|
@ -64,15 +64,6 @@ do
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
# Override sanitizers, useful for non-Envoy code that we're trying to fix and
|
|
||||||
# that is acting as a build blockers.
|
|
||||||
declare -r BLACKLIST_PATH=blacklist.txt
|
|
||||||
cat <<EOF > "${BLACKLIST_PATH}"
|
|
||||||
# TODO(htuch): remove when we
|
|
||||||
# havehttps://github.com/protocolbuffers/protobuf/pull/5901.
|
|
||||||
fun:*FastInt64ToBufferLeft*
|
|
||||||
EOF
|
|
||||||
|
|
||||||
# Build driverless libraries.
|
# Build driverless libraries.
|
||||||
# TODO(htuch): Remove the CC/CXX/CFLAGS/CXXFLAGS passing, this is only there for
|
# TODO(htuch): Remove the CC/CXX/CFLAGS/CXXFLAGS passing, this is only there for
|
||||||
# cmake_external limitation in understanding --cxxopt etc., it should not be
|
# cmake_external limitation in understanding --cxxopt etc., it should not be
|
||||||
|
@ -82,7 +73,6 @@ EOF
|
||||||
bazel build --verbose_failures --dynamic_mode=off --spawn_strategy=standalone \
|
bazel build --verbose_failures --dynamic_mode=off --spawn_strategy=standalone \
|
||||||
--genrule_strategy=standalone --strip=never \
|
--genrule_strategy=standalone --strip=never \
|
||||||
--copt=-fno-sanitize=vptr --linkopt=-fno-sanitize=vptr --linkopt=-lc++fs \
|
--copt=-fno-sanitize=vptr --linkopt=-fno-sanitize=vptr --linkopt=-lc++fs \
|
||||||
--copt=-fsanitize-blacklist="${BLACKLIST_PATH}" \
|
|
||||||
--define tcmalloc=disabled --define signal_trace=disabled \
|
--define tcmalloc=disabled --define signal_trace=disabled \
|
||||||
--define ENVOY_CONFIG_ASAN=1 --copt -D__SANITIZE_ADDRESS__ \
|
--define ENVOY_CONFIG_ASAN=1 --copt -D__SANITIZE_ADDRESS__ \
|
||||||
--define force_libcpp=enabled \
|
--define force_libcpp=enabled \
|
||||||
|
|
Loading…
Reference in New Issue