]> diplodocus.org Git - nmh/commitdiff
Generalized gdbm 1.13 Memcheck:Param suppression a bit.
authorDavid Levine <levinedl@acm.org>
Fri, 9 Feb 2018 00:21:55 +0000 (19:21 -0500)
committerDavid Levine <levinedl@acm.org>
Fri, 9 Feb 2018 00:21:55 +0000 (19:21 -0500)
gdbm 1.13-3 (Fedora 27) doesn't show the __write_nocancel call.

test/valgrind.supp

index 4da69de86135ac95deed4e57a14f0e9b6b4ef3ad..331835036c6617154394db010127d22c83259e39 100644 (file)
 }
 
 {
 }
 
 {
-   gdbm 1.13-1 writes uninitialised bytes from malloc'd area to file
+   gdbm 1.13 writes uninitialised bytes from malloc'd area to file
    Memcheck:Param
    write(buf)
    Memcheck:Param
    write(buf)
-   fun:__write_nocancel
+   ...
    fun:_gdbm_full_write
    fun:gdbm_fd_open
    fun:dbm_open
    fun:_gdbm_full_write
    fun:gdbm_fd_open
    fun:dbm_open
-   fun:suppress_duplicates
-   fun:localmail
-   fun:main
 }
 
 }
 
-
 {
    dyld libraryLocator on MacOS 10.11.6 (El Capitan)
    Memcheck:Cond
 {
    dyld libraryLocator on MacOS 10.11.6 (El Capitan)
    Memcheck:Cond
-   fun:bcmp
+   fun:vbcmp
    ...
    fun:_ZN4dyldL14libraryLocator*
 }
    ...
    fun:_ZN4dyldL14libraryLocator*
 }