Mbed-TLS / mbedtls-framework

TF-PSA-Crypto and Mbed TLS version-independent build and test framework
Other
1 stars 13 forks source link

Add sanitizer build option when building a file #27

Open gabor-mezei-arm opened 3 months ago

gabor-mezei-arm commented 3 months ago

Add the -fsanitize build option for C file building in the scripts.

When MBEDTLS_TEST_CONSTANT_FLOW_MEMSAN is set, the check_config.h have a check for the memory sanitizer is enabled in the compiler. This can cause build error when reading the configuration from the scripts.