File: asan_ignore

package info (click to toggle)
perl 5.24.1-3+deb9u5
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 103,716 kB
  • sloc: perl: 559,611; ansic: 293,886; sh: 67,316; pascal: 7,632; cpp: 3,895; makefile: 2,436; xml: 2,410; yacc: 989; sed: 6; lisp: 1
file content (30 lines) | stat: -rw-r--r-- 983 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# 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_*

# Perl's << is defined as using the underlying C's << operator, with the
# same undefined behaviour for shifts greater than the word size.
# (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