-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
freebsd.supp
190 lines (189 loc) · 3.33 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
# 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
}
{
MEMCHECK-LIBC-GETC
Memcheck:Leak
match-leak-kinds: reachable
fun:malloc
obj:*/lib*/libc.so.7
obj:*/lib*/libc.so.7
fun:__srget
}
{
MEMCHECK-LIBC-__SWBUF
Memcheck:Leak
match-leak-kinds: reachable
fun:malloc
obj:*/lib*/libc.so.7
obj:*/lib*/libc.so.7
fun:__swbuf
}
{
MEMCHECK-LIBC-SETLOCALE
Memcheck:Leak
match-leak-kinds: reachable
fun:malloc
obj:*/lib*/libc.so.7
obj:*/lib*/libc.so.7
obj:*/lib*/libc.so.7
obj:*/lib*/libc.so.7
fun:setlocale
}
{
MEMCHECK-LIBC-GETGRGID
Memcheck:Leak
match-leak-kinds: reachable
fun:malloc
fun:getgrgid
}
{
MEMCHECK-LIBC-GMTIME
Memcheck:Leak
match-leak-kinds: reachable
fun:malloc
obj:*/lib*/libc.so.7
obj:*/lib*/libc.so.7
fun:gmtime
}
{
MEMCHECK-LIBC-TZSET
Memcheck:Leak
match-leak-kinds: reachable
fun:malloc
obj:*/lib*/libc.so.7
fun:tzset
}
{
MEMCHECK-LIBC-PUTS
Memcheck:Leak
match-leak-kinds: reachable
fun:malloc
obj:*/lib*/libc.so.7
obj:*/lib*/libc.so.7
obj:*/lib*/libc.so.7
fun:puts
}
{
MEMCHECK-LIBC-SRAND
Memcheck:Leak
match-leak-kinds: reachable
fun:malloc
obj:*/lib*/libc.so.7
obj:*/lib*/libc.so.7
fun:srand
}
{
MEMCHECK-LIBC-SCANF
Memcheck:Leak
match-leak-kinds: reachable
fun:malloc
obj:*/lib*/libc.so.7
obj:*/lib*/libc.so.7
obj:*/lib*/libc.so.7
fun:scanf
}
{
MEMCHECK-LIBC-__CXA_ATEXIT
Memcheck:Leak
match-leak-kinds: reachable
fun:malloc
obj:/lib/libc.so.7
fun:__cxa_atexit
}