]> eyrie.org Git - kerberos/krb5-strength.git/blob - tests/data/valgrind.supp
Add rules for running the test suite under valgrind
[kerberos/krb5-strength.git] / tests / data / valgrind.supp
1 # -*- conf -*-
2 #
3 # This is a valgrind suppression file for analysis of test suite results.
4 #
5 # Suppress a variety of apparent memory leaks in various Kerberos
6 # implementations due to one-time instantiation of data, and a few other
7 # artifacts of the test suite for rra-c-util portability and utility code
8 # and related software.
9 #
10 # The canonical version of this file is maintained in the rra-c-util package,
11 # which can be found at <http://www.eyrie.org/~eagle/software/rra-c-util/>.
12 #
13 # Written by Russ Allbery <eagle@eyrie.org>
14 # Copyright 2011, 2012, 2013
15 #     The Board of Trustees of the Leland Stanford Junior University
16 #
17 # Permission is hereby granted, free of charge, to any person obtaining a
18 # copy of this software and associated documentation files (the "Software"),
19 # to deal in the Software without restriction, including without limitation
20 # the rights to use, copy, modify, merge, publish, distribute, sublicense,
21 # and/or sell copies of the Software, and to permit persons to whom the
22 # Software is furnished to do so, subject to the following conditions:
23 #
24 # The above copyright notice and this permission notice shall be included in
25 # all copies or substantial portions of the Software.
26 #
27 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
28 # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
29 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
30 # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
31 # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
32 # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
33 # DEALINGS IN THE SOFTWARE.
34
35 {
36    dlopen-dlerror
37    Memcheck:Leak
38    fun:calloc
39    fun:_dlerror_run
40 }
41 {
42    heimdal-krb5-init-context-once
43    Memcheck:Leak
44    fun:*alloc
45    ...
46    fun:init_context_once
47 }
48 {
49    heimdal-krb5-reg-plugins-once
50    Memcheck:Leak
51    fun:*alloc
52    ...
53    fun:krb5_plugin_register
54    fun:reg_def_plugins_once
55 }
56 {
57    heimdal-krb5-openssl-init
58    Memcheck:Leak
59    fun:*alloc
60    obj:*
61    fun:CRYPTO_*alloc
62 }
63 {
64    mit-gss-ccache
65    Memcheck:Leak
66    fun:*alloc
67    fun:krb5int_setspecific
68    fun:kg_set_ccache_name
69    fun:gss_krb5int_ccache_name
70 }
71 {
72    mit-gss-ccache-2
73    Memcheck:Leak
74    fun:*alloc
75    fun:strdup
76    fun:kg_set_ccache_name
77    fun:gss_krb5int_ccache_name
78 }
79 {
80    mit-krb5-pkinit-openssl-init
81    Memcheck:Leak
82    fun:*alloc
83    ...
84    fun:krb5_init_preauth_context
85 }
86 {
87    mit-krb5-pkinit-openssl-request
88    Memcheck:Leak
89    fun:*alloc
90    ...
91    fun:krb5_preauth_request_context_init
92 }
93 {
94    mit-krb5-plugin-dirs
95    Memcheck:Leak
96    fun:calloc
97    fun:krb5int_open_plugin_dirs
98 }
99 {
100    mit-krb5-plugin-dlerror
101    Memcheck:Leak
102    fun:calloc
103    fun:_dlerror_run
104    ...
105    fun:krb5int_open_plugin
106 }
107 {
108    mit-krb5-plugin-register
109    Memcheck:Leak
110    fun:malloc
111    fun:strdup
112    fun:register_module.isra.1
113 }
114 {
115    portable-setenv
116    Memcheck:Leak
117    fun:malloc
118    fun:test_setenv
119 }