summaryrefslogtreecommitdiff
path: root/asan_ignore
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2019-05-03 14:30:53 -0600
committerKarl Williamson <khw@cpan.org>2019-05-24 17:09:30 -0600
commitb377a43cebc7e181f6f2189b957deda3a9af6943 (patch)
treeb2874ca4e938db27406c577e7cc71ad219122c04 /asan_ignore
parent814735a391b874af8f00eaf89469e5ec7f38cd4a (diff)
downloadperl-b377a43cebc7e181f6f2189b957deda3a9af6943.tar.gz
asan_ignore: Explicitly list ignored behavior fcns
Overflow on signed integers is undefined behavior. Perl does whatever the underlying compiler does in this case. Previously this file used a wildcard which could specify more functions than we really expect to see this potential overflow from. It is safer to mention explicitly all the functions.
Diffstat (limited to 'asan_ignore')
-rw-r--r--asan_ignore7
1 files changed, 5 insertions, 2 deletions
diff --git a/asan_ignore b/asan_ignore
index f520546210..8050f3c217 100644
--- a/asan_ignore
+++ b/asan_ignore
@@ -16,8 +16,11 @@
# suffix with =foo for a "tool-specific category", but neither =undefined
# nor =signed-integer-overflow worked.
-fun:Perl_pp_i_*
-
+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