From: abn Date: Mon, 14 Jan 2019 14:40:50 +0000 (+0100) Subject: Useful valgrind suppr file for SWIG ... X-Git-Tag: V9_3_0a1~27 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a4beafc9bec3efe8fff62a4ef99c970db9b52925;p=tools%2Fmedcoupling.git Useful valgrind suppr file for SWIG ... --- diff --git a/resources/dev/mc_suppr_valgrind b/resources/dev/mc_suppr_valgrind new file mode 100644 index 000000000..7f536fdc9 --- /dev/null +++ b/resources/dev/mc_suppr_valgrind @@ -0,0 +1,66 @@ +# +# SWIG suppressions for MEDCoupling +# + +{ + + Memcheck:Leak + fun:malloc + fun:PyObject_Malloc +} + +{ + + Memcheck:Leak + fun:*alloc + ... + fun:PyUnicode_* +} + +{ + + Memcheck:Leak + match-leak-kinds: definite + fun:malloc + fun:SwigPyClientData_New +} + +{ + + Memcheck:Leak + fun:malloc + ... + fun:*PyDict_* +} + +{ + + Memcheck:Leak + fun:realloc + fun:_PyObject_GC_Resize +} +{ + + Memcheck:Leak + fun:malloc + ... + fun:PyObject_Call +} +{ + + Memcheck:Leak + fun:*alloc + ... + fun:_PyImport_LoadDynamicModule +} + +{ + + Memcheck:Leak + fun:*alloc + ... + fun:*PyInit* +} + + +