summaryrefslogtreecommitdiffstats
path: root/valgrind.supp
diff options
context:
space:
mode:
authorEthan Werner <mail@ethanwerner.com>2026-10-10 20:55:33 +0000
committerEthan Werner <mail@ethanwerner.com>2026-10-10 20:56:50 +0000
commitf8423ebea413605b42de23f5dd06c5479d3fa1dd (patch)
tree2612a5eb026c59e7aae01f10a1cf62f2ee43042c /valgrind.supp
initial commitHEADmaster
Diffstat (limited to 'valgrind.supp')
-rw-r--r--valgrind.supp115
1 files changed, 115 insertions, 0 deletions
diff --git a/valgrind.supp b/valgrind.supp
new file mode 100644
index 0000000..194c7ed
--- /dev/null
+++ b/valgrind.supp
@@ -0,0 +1,115 @@
+# OpenSSL process-global state allocated during curl_global_init (TLS backend
+# init: namemaps, providers, cipher tables). Retained until process exit; not
+# a real leak. "Still reachable" only - real leaks (definite/indirect/possible)
+# are still reported and fail the gate via --error-exitcode.
+{
+ openssl_crypto_malloc
+ Memcheck:Leak
+ match-leak-kinds: reachable
+ fun:malloc
+ ...
+ obj:*crypto*
+ ...
+}
+
+{
+ openssl_crypto_realloc
+ Memcheck:Leak
+ match-leak-kinds: reachable
+ fun:realloc
+ ...
+ obj:*crypto*
+ ...
+}
+
+{
+ openssl_crypto_posix_memalign
+ Memcheck:Leak
+ match-leak-kinds: reachable
+ fun:posix_memalign
+ ...
+ obj:*crypto*
+ ...
+}
+
+{
+ openssl_crypto_calloc
+ Memcheck:Leak
+ match-leak-kinds: reachable
+ fun:calloc
+ ...
+ obj:*crypto*
+ ...
+}
+
+{
+ openssl_crypto_aligned_alloc
+ Memcheck:Leak
+ match-leak-kinds: reachable
+ fun:aligned_alloc
+ ...
+ obj:*crypto*
+ ...
+}
+
+{
+ openssl_ssl_malloc
+ Memcheck:Leak
+ match-leak-kinds: reachable
+ fun:malloc
+ ...
+ obj:*ssl*
+ ...
+}
+
+{
+ openssl_ssl_realloc
+ Memcheck:Leak
+ match-leak-kinds: reachable
+ fun:realloc
+ ...
+ obj:*ssl*
+ ...
+}
+
+{
+ openssl_ssl_posix_memalign
+ Memcheck:Leak
+ match-leak-kinds: reachable
+ fun:posix_memalign
+ ...
+ obj:*ssl*
+ ...
+}
+
+{
+ openssl_ssl_calloc
+ Memcheck:Leak
+ match-leak-kinds: reachable
+ fun:calloc
+ ...
+ obj:*ssl*
+ ...
+}
+
+{
+ openssl_ssl_aligned_alloc
+ Memcheck:Leak
+ match-leak-kinds: reachable
+ fun:aligned_alloc
+ ...
+ obj:*ssl*
+ ...
+}
+
+# Thread-local storage (Dtv) allocated by glibc for each pthread_create.
+# Retained until process exit; not a real leak. "Possibly lost" only.
+{
+ pthread_tls
+ Memcheck:Leak
+ match-leak-kinds: possible
+ fun:calloc
+ ...
+ fun:allocate_stack
+ ...
+}