mirror of
https://github.com/php/php-src.git
synced 2024-11-30 21:35:36 +08:00
Disable ifunc resolvers under dataflow sanitizer
As with other sanitizers, this is not supported.
This commit is contained in:
parent
c6ea0e90c2
commit
a8687804bb
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user