From: Nikita Popov Date: Tue, 1 Sep 2020 18:35:33 +0000 (+0200) Subject: Disable ifunc resolvers under dataflow sanitizer X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a8687804bb73deff52206f3dec88880fc22ad9b0;p=php Disable ifunc resolvers under dataflow sanitizer As with other sanitizers, this is not supported. --- diff --git a/Zend/zend_portability.h b/Zend/zend_portability.h index b94ed7b55f..e94560d18f 100644 --- a/Zend/zend_portability.h +++ b/Zend/zend_portability.h @@ -466,7 +466,8 @@ extern "C++" { /* Memory sanitizer is incompatible with ifunc resolvers. Even if the resolver * is marked as no_sanitize("memory") it will still be instrumented and crash. */ -#if __has_feature(memory_sanitizer) || __has_feature(thread_sanitizer) +#if __has_feature(memory_sanitizer) || __has_feature(thread_sanitizer) || \ + __has_feature(dataflow_sanitizer) # undef HAVE_FUNC_ATTRIBUTE_IFUNC #endif