Skip to content

Commit 5228223

Browse files
committed
ci: remove MSAN getrandom syscall workaround
The corresponding workaround will also be dropped in oss-fuzz: https://github.com/google/oss-fuzz/blob/25946a544856413d31d9cbb3a366a4aef5a8fd60/projects/bitcoin-core/build.sh#L49.
1 parent d5e0691 commit 5228223

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

ci/test/06_script_b.sh

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -101,14 +101,6 @@ cd "${BASE_BUILD_DIR}/bitcoin-$HOST"
101101

102102
bash -c "./configure --cache-file=../config.cache $BITCOIN_CONFIG_ALL $BITCOIN_CONFIG" || ( (cat config.log) && false)
103103

104-
if [[ ${USE_MEMORY_SANITIZER} == "true" ]]; then
105-
# MemorySanitizer (MSAN) does not support tracking memory initialization done by
106-
# using the Linux getrandom syscall. Avoid using getrandom by undefining
107-
# HAVE_SYS_GETRANDOM. See https://github.com/google/sanitizers/issues/852 for
108-
# details.
109-
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
110-
fi
111-
112104
if [[ "${RUN_TIDY}" == "true" ]]; then
113105
MAYBE_BEAR="bear --config src/.bear-tidy-config"
114106
MAYBE_TOKEN="--"

0 commit comments

Comments
 (0)