31 lines
983 B
Plaintext
31 lines
983 B
Plaintext
# 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_*
|
|
|
|
# Perl's << is defined as using the underlying C's << operator, with the
|
|
# same undefined behaviour for shifts greater than the word size.
|
|
# (UVs normally, IVs with 'use integer')
|
|
|
|
fun:Perl_pp_left_shift
|
|
|
|
# this function numifies the field width in eg printf "%10f".
|
|
# It has its own overflow detection, so don't warn about it
|
|
|
|
fun:S_expect_number
|