From a4beafc9bec3efe8fff62a4ef99c970db9b52925 Mon Sep 17 00:00:00 2001 From: abn Date: Mon, 14 Jan 2019 15:40:50 +0100 Subject: [PATCH] Useful valgrind suppr file for SWIG ... --- resources/dev/mc_suppr_valgrind | 66 +++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 resources/dev/mc_suppr_valgrind 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* +} + + + -- 2.39.2