summaryrefslogtreecommitdiff
path: root/asan_ignore
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2014-12-22 20:57:52 +0000
committerDavid Mitchell <davem@iabyn.com>2014-12-31 11:28:52 +0000
commit0213d723ad5ab5e1e73d506449510c725bbdd15d (patch)
treeb0e760159d260b63039b356872fd472b49f92220 /asan_ignore
parentea11461288d14099c29bf480cfd98479d3613a9c (diff)
downloadperl-0213d723ad5ab5e1e73d506449510c725bbdd15d.tar.gz
asan_ignore: exclude S_expect_number()
This function numifies the field width string in something like printf "%10f". It handles integer overflow itself, so suppress ASan warnings, e.g. sv.c:10716:26: runtime error: signed integer overflow: 922337203 * 10 cannot be represented in type 'int'
Diffstat (limited to 'asan_ignore')
-rw-r--r--asan_ignore5
1 files changed, 5 insertions, 0 deletions
diff --git a/asan_ignore b/asan_ignore
index 4a1dc83870..e0f5685bc1 100644
--- a/asan_ignore
+++ b/asan_ignore
@@ -23,3 +23,8 @@ fun:Perl_pp_i_*
# (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