Skip to content

Commit a868780

Browse files
committed
Disable ifunc resolvers under dataflow sanitizer
As with other sanitizers, this is not supported.
1 parent c6ea0e9 commit a868780

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Zend/zend_portability.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,8 @@ extern "C++" {
466466

467467
/* Memory sanitizer is incompatible with ifunc resolvers. Even if the resolver
468468
* is marked as no_sanitize("memory") it will still be instrumented and crash. */
469-
#if __has_feature(memory_sanitizer) || __has_feature(thread_sanitizer)
469+
#if __has_feature(memory_sanitizer) || __has_feature(thread_sanitizer) || \
470+
__has_feature(dataflow_sanitizer)
470471
# undef HAVE_FUNC_ATTRIBUTE_IFUNC
471472
#endif
472473

0 commit comments

Comments
 (0)