From b377a43cebc7e181f6f2189b957deda3a9af6943 Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Fri, 3 May 2019 14:30:53 -0600 Subject: [PATCH] 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. --- asan_ignore | 7 +++++-- 1 file 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