From 1a9bd94549bfea5824b42c4470eb04f9ae7a4a24 Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Thu, 31 Oct 2019 16:11:34 +0100 Subject: [PATCH] Disable MBEDTLS_MEMORY_BUFFER_ALLOC_C after config.pl full Enabling memory_buffer_alloc is slow and makes ASan ineffective. We have a patch pending to remove it from the full config. In the meantime, disable it explicitly. --- tests/scripts/all.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh index 32ec5fa9fd..75a51e07b7 100755 --- a/tests/scripts/all.sh +++ b/tests/scripts/all.sh @@ -877,6 +877,7 @@ component_test_se_default () { component_test_se_full () { msg "build: full config + MBEDTLS_PSA_CRYPTO_SE_C" scripts/config.pl full + scripts/config.pl unset MBEDTLS_MEMORY_BUFFER_ALLOC_C scripts/config.pl set MBEDTLS_PSA_CRYPTO_SE_C make CC=gcc CFLAGS='-Werror -Wall -Wextra -O2 -fsanitize=address' LDFLAGS='-fsanitize=address'