Commit | Line | Data |
---|---|---|
2e2c882d DM |
1 | # This file intended to be used with clang as |
2 | # | |
3 | # clang -fsanitize=foo -fsanitize-blacklist=`pwd`/asan_ignore | |
4 | # | |
5 | # It lists those files / functions that clang's Address Sanitizer should | |
6 | # ignore. | |
7 | # | |
8 | # See http://clang.llvm.org/docs/SanitizerSpecialCaseList.html. | |
9 | ||
10 | ||
11 | # The pp functions used under 'use integer' shouldn't warn about | |
12 | # integer overflow etc. | |
13 | # | |
14 | # Unfortunately there doesn't seem to be any way to disable just specific | |
15 | # errors (i.e. the integer overflow ones). The manual implies that you can | |
16 | # suffix with =foo for a "tool-specific category", but neither =undefined | |
17 | # nor =signed-integer-overflow worked. | |
18 | ||
19 | fun:Perl_pp_i_* | |
cbb52ffe DM |
20 | |
21 | # Perl's << is defined as using the underlying C's << operator, with the | |
22 | # same undefined behaviour for shifts greater than the word size. | |
23 | # (UVs normally, IVs with 'use integer') | |
24 | ||
25 | fun:Perl_pp_left_shift | |
0213d723 DM |
26 | |
27 | # this function numifies the field width in eg printf "%10f". | |
28 | # It has its own overflow detection, so don't warn about it | |
29 | ||
30 | fun:S_expect_number |