]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
Useful valgrind suppr file for SWIG ...
authorabn <adrien.bruneton@cea.fr>
Mon, 14 Jan 2019 14:40:50 +0000 (15:40 +0100)
committerabn <adrien.bruneton@cea.fr>
Mon, 14 Jan 2019 14:40:50 +0000 (15:40 +0100)
resources/dev/mc_suppr_valgrind [new file with mode: 0644]

diff --git a/resources/dev/mc_suppr_valgrind b/resources/dev/mc_suppr_valgrind
new file mode 100644 (file)
index 0000000..7f536fd
--- /dev/null
@@ -0,0 +1,66 @@
+#
+# SWIG suppressions for MEDCoupling
+#
+
+{
+   <malloc>
+   Memcheck:Leak
+   fun:malloc
+   fun:PyObject_Malloc
+}
+
+{
+   <realloc_unicode>
+   Memcheck:Leak
+   fun:*alloc
+   ...
+   fun:PyUnicode_*
+}
+
+{
+   <swig_py_client_data>
+   Memcheck:Leak
+   match-leak-kinds: definite
+   fun:malloc
+   fun:SwigPyClientData_New
+}
+
+{
+   <dic2>
+   Memcheck:Leak
+   fun:malloc
+   ...
+   fun:*PyDict_*
+}
+
+{
+   <py_gc>
+   Memcheck:Leak
+   fun:realloc
+   fun:_PyObject_GC_Resize
+}
+{
+   <call>
+   Memcheck:Leak
+   fun:malloc
+   ...
+   fun:PyObject_Call
+}
+{
+   <load_mod>
+   Memcheck:Leak
+   fun:*alloc
+   ...
+   fun:_PyImport_LoadDynamicModule
+}
+
+{
+   <load_mod>
+   Memcheck:Leak
+   fun:*alloc
+   ...
+   fun:*PyInit*
+}
+
+
+