mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Disable ifunc resolvers under dataflow sanitizer
As with other sanitizers, this is not supported.
This commit is contained in:
parent
c6ea0e90c2
commit
a8687804bb
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue