utils: better guard with msan

This commit is contained in:
Boris Faure 2023-08-21 16:35:26 +02:00
parent 7da500c3f9
commit 4df193b833
Signed by: borisfaure
GPG Key ID: EAA9CD729F522998
1 changed files with 6 additions and 6 deletions

View File

@ -109,18 +109,18 @@ ty_eina_unicode_base64_decode(Eina_Unicode *unicode)
#if defined(BINARY_TYTEST)
#if defined(__has_feature)
# if __has_feature(memory_sanitizer)
__attribute__((no_sanitize("memory")))
// disable with msan due to false positives
# endif
#endif
int tytest_base64(void)
{
Eina_Unicode *src;
char *res;
const char *expected;
#if defined(__has_feature)
# if __has_feature(memory_sanitizer)
// disable with msan due to false positives
return 0;
# endif
#endif
const char *terminology_rox = "VGVybWlub2xvZ3kgcm94IQ==";
src = eina_unicode_utf8_to_unicode(terminology_rox, NULL);