1 # ------------------------------------------------------------------------
2 # Copyright 2015 Intel Corporation
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15 # ------------------------------------------------------------------------
17 # ************************************************************************
18 # This file contains Valgrind suppressions. It is meant to make
19 # Valgrind ignore memory violations that are out of the control of
20 # IoTivity developers. Do NOT abuse this file by adding suppressions
21 # for memory violations that can be addressed in IoTivity itself.
22 # ************************************************************************
24 # ************************************************************************
25 # GLib related suppressions
27 # These suppressions hide "possibly lost" leak diagnostics from
28 # Valgrind that occur from running simple code like the following:
29 # GError * error = NULL;
30 # GDBusConnection * const connection =
31 # g_bus_get_sync(G_BUS_TYPE_SYSTEM, NULL, &error);
32 # g_object_unref(connection);
33 # ************************************************************************
35 # gdbus-codegen generated code
37 gdbus-codegen/*-skeleton-new
44 glib/gobject-init-ctor
50 glib/g-dbus-auth-run-client
53 fun:_g_dbus_auth_run_client
56 glib/g-main-context-iterate-
59 fun:g_main_context_iterate.*
62 glib/g-main-context-dispatch
65 fun:g_main_context_dispatch
74 glib/get-uninitialized-connection
77 fun:get_uninitialized_connection
80 glib/g-dbus-address-get-stream-sync
83 fun:g_dbus_address_get_stream_sync
86 glib/g-type-register-static-simple
89 fun:g_type_register_static_simple
92 glib/g-type-add-interface-static
95 fun:g_type_add_interface_static
98 glib/complete-in-idle-cb
101 fun:complete_in_idle_cb
104 glib/g-dbus-address-try-connect-one
107 fun:g_dbus_address_try_connect_one
117 glib/g-type-register-fundamental
120 fun:g_type_register_fundamental
123 glib/g-type-register-static
126 fun:g_type_register_static
133 obj:/usr/lib/*/libgobject-2.0*.so.*
136 glib/g-dbus-connection-send-message-with-reply-sync
139 fun:g_dbus_connection_send_message_with_reply_sync
141 # ************************************************************************