docs: improve valgrind suppressions file
authorMarc-André Moreau <marcandre.moreau@gmail.com>
Fri, 8 Nov 2013 04:12:31 +0000 (23:12 -0500)
committerMarc-André Moreau <marcandre.moreau@gmail.com>
Fri, 8 Nov 2013 04:12:31 +0000 (23:12 -0500)
docs/valgrind.supp

index ba4f8aa..440d92c 100644 (file)
@@ -1,6 +1,6 @@
 
 {
-   glibc_getaddrinfo
+   ignore glibc getaddrinfo
    Memcheck:Param
    sendmsg(mmsg[0].msg_hdr)
    fun:sendmmsg
    fun:nego_transport_connect
 }
 
+{
+  ignore openssl malloc
+  Memcheck:Leak
+  fun:malloc
+  fun:CRYPTO_malloc
+  ...
+  obj:*libcrypto*
+}
+{
+  ignore openssl realloc
+  Memcheck:Leak
+  fun:realloc
+  fun:CRYPTO_realloc
+  ...
+  obj:*libcrypto*
+}
+
+{
+  ignore libssl cond
+  Memcheck:Cond
+  obj:*libssl*
+}
+
+{
+  ignore libssl value
+  Memcheck:Value4
+  obj:*libssl*
+}
 
+{
+  ignore ssl3_read_bytes tls1_enc
+  Memcheck:Cond
+  fun:tls1_enc
+  fun:ssl3_read_bytes
+  obj:*libssl*
+}
+
+{
+  ignore ssl3_read_bytes memcpy
+  Memcheck:Cond
+  fun:memcpy@@GLIBC_2.14
+  fun:ssl3_read_bytes
+  obj:*libssl*
+}
 
+{
+  ignore ssl3_read_bytes value8
+  Memcheck:Value8
+  fun:memcpy@@GLIBC_2.14
+  fun:ssl3_read_bytes
+  obj:*libssl*
+}
+
+{
+  ignore write buf BIO_write
+  Memcheck:Param
+  write(buf)
+  obj:*libpthread*
+  obj:*libcrypto*
+  fun:BIO_write
+  fun:ssl3_write_pending
+  fun:ssl3_write_bytes
+}