forked from Perl/perl5
-
Notifications
You must be signed in to change notification settings - Fork 2
/
asan_ignore
28 lines (23 loc) · 868 Bytes
/
asan_ignore
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# 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_add
fun:Perl_pp_i_divide
fun:Perl_pp_i_negate
fun:Perl_pp_i_multiply
fun:Perl_pp_i_subtract
# 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