Skip to content

Commit 1a9bd94

Browse files
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.
1 parent dd61a2e commit 1a9bd94

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/scripts/all.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -877,6 +877,7 @@ component_test_se_default () {
877877
component_test_se_full () {
878878
msg "build: full config + MBEDTLS_PSA_CRYPTO_SE_C"
879879
scripts/config.pl full
880+
scripts/config.pl unset MBEDTLS_MEMORY_BUFFER_ALLOC_C
880881
scripts/config.pl set MBEDTLS_PSA_CRYPTO_SE_C
881882
make CC=gcc CFLAGS='-Werror -Wall -Wextra -O2 -fsanitize=address' LDFLAGS='-fsanitize=address'
882883

0 commit comments

Comments
 (0)