Fix (well, loosen up) the valgrind suppression rules
authorPanu Matilainen <pmatilai@redhat.com>
Mon, 30 Jul 2012 14:22:55 +0000 (17:22 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Mon, 30 Jul 2012 14:29:47 +0000 (17:29 +0300)
- The previous rules far too specific to glibc + gcc with certain
  optimization levels, eg relying on parse_auxv() getting inlined
  and when it does not, the suppression rules would no longer match.

scripts/rpm.supp

index d9ab1fe..c5b2c7a 100644 (file)
@@ -7,28 +7,32 @@
 {
    defaultMachine_strdup
    Memcheck:Addr1
-   fun:__GI_strlen
+   ...
    fun:strdup
+   ...
    fun:defaultMachine
 }
 
 {
    defaultMachine_memcpy1
    Memcheck:Addr1
-   fun:__GI_memcpy
+   fun:*memcpy
+   ...
    fun:defaultMachine
 }
 
 {
    defaultMachine_memcpy2
    Memcheck:Addr2
-   fun:__GI_memcpy
+   fun:*memcpy
+   ...
    fun:defaultMachine
 }
 
 {
    defaultMachine_memcpy4
    Memcheck:Addr4
-   fun:__GI_memcpy
+   fun:*memcpy
+   ...
    fun:defaultMachine
 }