From c66e3bc7db52c1e1bcae9de86d8c6fe8ccb46aa4 Mon Sep 17 00:00:00 2001 From: Flole998 Date: Thu, 22 Oct 2020 23:18:52 +0200 Subject: [PATCH] Change no_sanitize("thread") attributes --- src/wrappers.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wrappers.c b/src/wrappers.c index 635758fba..09ba146a8 100644 --- a/src/wrappers.c +++ b/src/wrappers.c @@ -452,7 +452,7 @@ int regex_match_substring_length(tvh_regex_t *regex, unsigned number) * Sanitizer helpers to avoid false positives */ #if ENABLE_CCLANG_THREADSAN -void __attribute__((no_sanitize("thread"))) *blacklisted_memcpy(void *dest, const void *src, size_t n) +void __attribute__((no_sanitize_thread)) *blacklisted_memcpy(void *dest, const void *src, size_t n) { uint8_t *d = dest; const uint8_t *s = src; @@ -462,7 +462,7 @@ void __attribute__((no_sanitize("thread"))) *blacklisted_memcpy(void *dest, cons void *dlsym(void *handle, const char *symbol); -int __attribute__((no_sanitize("thread"))) blacklisted_close(int fd) +int __attribute__((no_sanitize_thread)) blacklisted_close(int fd) { // close(fd); // sanitizer reports errors in close() return 0; -- 2.47.2