mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-26 15:46:22 +00:00
fix(valgrind): add valgrid suppressions for pthread TLS and expect/tcl library allocations
This commit is contained in:
39
prof.supp
39
prof.supp
@@ -2703,3 +2703,42 @@
|
|||||||
fun:calloc
|
fun:calloc
|
||||||
fun:_dl_allocate_tls
|
fun:_dl_allocate_tls
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# pthread TLS allocation in stabber server threads
|
||||||
|
{
|
||||||
|
pthread_create_tls_stabber
|
||||||
|
Memcheck:Leak
|
||||||
|
match-leak-kinds: possible
|
||||||
|
fun:calloc
|
||||||
|
...
|
||||||
|
fun:allocate_dtv
|
||||||
|
fun:_dl_allocate_tls
|
||||||
|
fun:allocate_stack
|
||||||
|
fun:pthread_create*
|
||||||
|
fun:server_run
|
||||||
|
}
|
||||||
|
|
||||||
|
# expect/tcl library allocations
|
||||||
|
{
|
||||||
|
tcl_alloc_expect
|
||||||
|
Memcheck:Leak
|
||||||
|
match-leak-kinds: possible
|
||||||
|
fun:malloc
|
||||||
|
...
|
||||||
|
fun:TclpAlloc
|
||||||
|
fun:Tcl_Alloc
|
||||||
|
...
|
||||||
|
fun:exp_expectl
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
exp_printify
|
||||||
|
Memcheck:Leak
|
||||||
|
match-leak-kinds: possible
|
||||||
|
fun:malloc
|
||||||
|
...
|
||||||
|
fun:exp_printify
|
||||||
|
...
|
||||||
|
fun:exp_expectl
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user