Skip to content

Commit b377a43

Browse files
committed
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.
1 parent 814735a commit b377a43

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

asan_ignore

+5-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,11 @@
1616
# suffix with =foo for a "tool-specific category", but neither =undefined
1717
# nor =signed-integer-overflow worked.
1818

19-
fun:Perl_pp_i_*
20-
19+
fun:Perl_pp_i_add
20+
fun:Perl_pp_i_divide
21+
fun:Perl_pp_i_negate
22+
fun:Perl_pp_i_multiply
23+
fun:Perl_pp_i_subtract
2124

2225
# this function numifies the field width in eg printf "%10f".
2326
# It has its own overflow detection, so don't warn about it

0 commit comments

Comments
 (0)