mirror of
https://github.com/Perl/perl5.git
synced 2026-01-26 16:39:36 +00:00
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.
29 lines
868 B
Plaintext
29 lines
868 B
Plaintext
# 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
|