-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfreebsd.supp
100 lines (99 loc) · 1.83 KB
/
freebsd.supp
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
# Suppressions for FreeBSD / Memcheck
# This is a workaround for a bug in rtld / sysctl hw.pagesizes
# it was fixed in May 2020 in the kernel
# removing it means either waiting for 12-RELEASE EOL
# or some tricky kernel detection in configure.ac
{
MEMCHECK-RTLD-32ON64
Memcheck:Addr4
fun:memcpy
fun:elf_aux_info
}
{
MEMCHECK-RTLD-COND
Memcheck:Cond
obj:/libexec/ld-elf*.so.1
}
{
MEMCHECK-RTLD-32ON64-ADDR4
Memcheck:Addr4
obj:/libexec/ld-elf32.so.1
obj:/libexec/ld-elf32.so.1
}
{
MEMCHECK-LIBC-REACHABLE-1
Memcheck:Leak
match-leak-kinds: reachable
fun:malloc
obj:*/lib*/libc.so.7
obj:*/lib*/libc.so.7
obj:*/lib*/libc.so.7
fun:vfprintf_l
}
# clang only, should check that this is not a genuine error
{
MEMCHECK-POSIX-FADVISE
Memcheck:Cond
fun:posix_fadvise
}
{
MEMCHECK-POSIX-FALLOCATE
Memcheck:Cond
fun:posix_fallocate
}
{
MEMCHECK-LIBC-REACHABLE-2
Memcheck:Leak
match-leak-kinds: reachable
fun:malloc
obj:*/lib*/libc.so.7
obj:*/lib*/libc.so.7
obj:*/lib*/libc.so.7
fun:fwrite
}
# when calling std::locale::facet::_S_create_c_locale
{
MEMCHECK-LIBC-REACHABLE-3
Memcheck:Leak
match-leak-kinds: reachable
fun:calloc
...
fun:newlocale
}
# when calling getaddrinfo
{
MEMCHECK-LIBC-REACHABLE-4
Memcheck:Leak
match-leak-kinds: reachable
fun:*alloc
fun:_nsyyparse
}
{
MEMCHECK-LIBC-REACHABLE-5
Memcheck:Leak
match-leak-kinds: reachable
fun:malloc
fun:_nsyylex
}
{
MEMCHECK-LIBC-REACHABLE-6
Memcheck:Leak
match-leak-kinds: reachable
fun:malloc
fun:__res_vinit
}
# back to regular reachables
{
MEMCHECK-LIBC-REACHABLE-7
Memcheck:Leak
match-leak-kinds: reachable
fun:malloc
fun:getgrnam
}
{
MEMCHECK-LIBTHR-REACHABLE-1
Memcheck:Leak
match-leak-kinds: reachable
fun:calloc
obj:*/lib*/libthr.so.3
}