Browse code

suppress valgrind warnings for old libc. The warning is in __strcpy_chk, but I don't want to suppress a useful warnings in recent libcs, and there is no way to specify both a function and object in a suppression, so I suppressed all warnings from libc-2.5 when called from mbox/message.c

git-svn: trunk@4295

Török Edvin authored on 2008/10/28 00:39:57
Showing 2 changed files
... ...
@@ -1,3 +1,11 @@
1
+Mon Oct 27 18:07:08 EET 2008 (edwin)
2
+------------------------------------
3
+ * unit_tests/valgrind.supp: suppress valgrind warnings for old libc.
4
+ The warning is in __strcpy_chk, but I don't want to suppress a
5
+ useful warnings in recent libcs, and there is no way to specify both
6
+ a function and object in a suppression, so I suppressed all warnings
7
+ from libc-2.5 when called from mbox/message.c
8
+
1 9
 Mon Oct 27 16:20:02 EET 2008 (edwin)
2 10
 ------------------------------------
3 11
  * unit_tests/duma_tests.sh: fix typo in test script
... ...
@@ -191,6 +191,24 @@
191 191
   Helgrind:Race
192 192
   fun:__free_tcb
193 193
 }
194
+{
195
+  glibc-2.5-strcpy_chk
196
+  Memcheck:Addr8
197
+  obj:/lib64/libc-2.5.so
198
+  fun:decodeLine
199
+}
200
+{
201
+  glibc-2.5-strcpy_chk
202
+  Memcheck:Cond
203
+  obj:/lib64/libc-2.5.so
204
+  fun:decodeLine
205
+}
206
+{
207
+  glibc-2.5-strcpy_chk
208
+  Memcheck:Cond
209
+  obj:/lib64/libc-2.5.so
210
+  fun:cli_mbox
211
+}
194 212
 #{
195 213
 #	helgrind-glibc27-dbg18
196 214
 #	Helgrind:Race