"clang -fsanitize=undefined" produces lots of false positives.
This file allows certain functions to be excluded from checking.
Use it as:
clang -fsanitize=undefined -fsanitize-blacklist=`pwd`/asan_ignore
Artistic The "Artistic License"
+asan_ignore Errors to skip under clang's Addresss Sanitizer
AUTHORS Contact info for contributors
autodoc.pl Creates pod/perlintern.pod and pod/perlapi.pod
av.c Array value code
--- /dev/null
+# This file intended to be used with clang as
+#
+# clang -fsanitize=foo -fsanitize-blacklist=`pwd`/asan_ignore
+#
+# It lists those files / functions that clang's Address Sanitizer should
+# ignore.
+#
+# See http://clang.llvm.org/docs/SanitizerSpecialCaseList.html.
+
+
+# The pp functions used under 'use integer' shouldn't warn about
+# integer overflow etc.
+#
+# Unfortunately there doesn't seem to be any way to disable just specific
+# errors (i.e. the integer overflow ones). The manual implies that you can
+# suffix with =foo for a "tool-specific category", but neither =undefined
+# nor =signed-integer-overflow worked.
+
+fun:Perl_pp_i_*