Valgrind suppression rules for MacOS
[alexxy/gromacs.git] / cmake / legacy_and_external.supp
1 # This suppression file is used to run the CTest Unit Tests
2 # All problems in external libraries are excluded
3 # Memory leaks in the legacy code are excluded
4 # Other problems besides memory leaks should NOT be excluded for legacy code
5
6 {
7    libz
8    Memcheck:Cond
9    fun:inflateReset2
10    fun:inflateInit2_
11 }
12
13 {
14    read_tps_conf
15    Memcheck:Leak
16    ...
17    fun:read_tps_conf
18 }
19
20 {
21    mdrun
22    Memcheck:Leak
23    ...
24    obj:*/mdrun*
25 }
26
27
28 #MacOS rules
29 {
30    dyld_register_image_state_change_handler
31    Memcheck:Leak
32    fun:malloc
33    fun:malloc
34    ...
35    fun:dyld_register_image_state_change_handler
36 }
37
38 {
39    __emutls_get_address
40    Memcheck:Leak
41    ...
42    fun:__emutls_get_address
43 }
44
45 {
46    libSystem_initializer
47    Memcheck:Leak
48    ...
49    fun:libSystem_initializer
50 }
51
52 {
53    atexit
54    Memcheck:Leak
55    fun:malloc
56    fun:atexit_register
57 }
58
59 {
60    unw_set_reg
61    Memcheck:Leak
62    ...
63    fun:unw_set_reg
64    fun:__gxx_personality_v0
65 }
66
67 {
68    printf
69    Memcheck:Leak
70    fun:malloc
71    ...
72    fun:__vfprintf
73 }
74
75 {
76    strtof
77    Memcheck:Leak
78    fun:malloc
79    ...
80    fun:strtof_l
81 }
82
83 {
84    scanf
85    Memcheck:Leak
86    fun:malloc
87    ...
88    fun:__svfscanf_l
89 }