Skip to content

Instantly share code, notes, and snippets.

@inducer
Created August 25, 2019 23:00
Show Gist options
  • Save inducer/04c2f1eb2b95a5512c752db800161b77 to your computer and use it in GitHub Desktop.
Save inducer/04c2f1eb2b95a5512c752db800161b77 to your computer and use it in GitHub Desktop.
Simple Python valgrind suppression file
{
zzz
Memcheck:Addr4
obj:*python*
}
{
zzz
Memcheck:Addr4
obj:*python*
}
{
Pyfree_rd8
Memcheck:Addr8
obj:*python*
}
{
zzz
Memcheck:Cond
obj:*python*
}
{
zzz
Memcheck:Value8
obj:*python*
}
{
zzz
Memcheck:Value4
obj:*python*
}
{
zzz
Memcheck:Cond
fun:memchr
obj:*python*
}
{
zzz
Memcheck:Cond
fun:strlen
obj:*python*
}
{
zzz
Memcheck:Cond
fun:bcmp
obj:*python*
}
{
zzz
Memcheck:Cond
fun:bcmp
obj:*python*
}
{
zzz
Memcheck:Param
mkdir(pathname)
fun:mkdir
obj:*python*
}
{
zzz
Memcheck:Param
stat(file_name)
fun:_xstat
obj:*python*
}
{
zzz
Memcheck:Param
open(filename)
fun:*
fun:*
fun:*
fun:__fopen_internal
obj:*python*
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment