|
From: Cees <ce...@pc...> - 2006-01-25 10:50:36
|
Hi,
I am trying to write suppression rules for leaks that originate from some
function say RootOfAllEvil.
Below that function there are many leaks but not all at the same stack depth.
AFAIK, I could suppress all _Znwj (C++ new) at depth 1 by doing:
{
<insert a suppression name here>
Memcheck:Leak
fun:_Znwj
fun:*
fun:RootOfAllEvil
}
and add more for depth 2,3, etc.
But is there any way of definining something like?:
{
<insert a suppression name here>
Memcheck:Leak
fun:_Znwj
?? 1 or more of any functions
fun:RootOfAllEvil
}
It sounds so naturraly to me that this is possible, but I am unable to find
information on if this is possible, or that I can achieve the same in another
fashion.
Tanks in advance,
Cees
|