mirror of
https://github.com/bitcoin/bitcoin.git
synced 2024-05-17 23:56:39 +00:00
ci: remove MSAN getrandom syscall workaround
The corresponding workaround will also be dropped in oss-fuzz:
25946a5448/projects/bitcoin-core/build.sh (L49)
.
This commit is contained in:
parent
d5e06919db
commit
5228223e1f
@ -101,14 +101,6 @@ cd "${BASE_BUILD_DIR}/bitcoin-$HOST"
|
|||||||
|
|
||||||
bash -c "./configure --cache-file=../config.cache $BITCOIN_CONFIG_ALL $BITCOIN_CONFIG" || ( (cat config.log) && false)
|
bash -c "./configure --cache-file=../config.cache $BITCOIN_CONFIG_ALL $BITCOIN_CONFIG" || ( (cat config.log) && false)
|
||||||
|
|
||||||
if [[ ${USE_MEMORY_SANITIZER} == "true" ]]; then
|
|
||||||
# MemorySanitizer (MSAN) does not support tracking memory initialization done by
|
|
||||||
# using the Linux getrandom syscall. Avoid using getrandom by undefining
|
|
||||||
# HAVE_SYS_GETRANDOM. See https://github.com/google/sanitizers/issues/852 for
|
|
||||||
# details.
|
|
||||||
grep -v HAVE_SYS_GETRANDOM src/config/bitcoin-config.h > src/config/bitcoin-config.h.tmp && mv src/config/bitcoin-config.h.tmp src/config/bitcoin-config.h
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ "${RUN_TIDY}" == "true" ]]; then
|
if [[ "${RUN_TIDY}" == "true" ]]; then
|
||||||
MAYBE_BEAR="bear --config src/.bear-tidy-config"
|
MAYBE_BEAR="bear --config src/.bear-tidy-config"
|
||||||
MAYBE_TOKEN="--"
|
MAYBE_TOKEN="--"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user