Ensure a consistent C++ standard use
[platform/upstream/libabigail.git] / default.abignore
1 # This file contains default system-wide suppression specifications to
2 # be used by Abigail tools[1] to filter out specific ABI change
3 # reports when comparing the ABI of some core system binaries.
4 #
5 # To learn about the syntax of Abigail suppression specifications,
6 # please refer to the relevant section of the online manual[2].
7 #
8 # If you feel like some suppression specifications should be added to
9 # this file so that they can be applied system-wide each time an
10 # Abigail tool is invoked to compare a given core system binary,
11 # please file an enhance request to
12 # https://sourceware.org/bugzilla/enter_bug.cgi?product=libabigail.
13 #
14 # Or, consider just adding those suppression specification to your
15 # ~/.abignore file.
16 #
17 # [1]: https://sourceware.org/libabigail/manual/libabigail-overview.html
18 # [2]: https://sourceware.org/libabigail/manual/libabigail-concepts.html#suppression-specifications.
19 #
20
21 #############################################
22 # Below are glibc suppression specifications
23 ############################################
24
25 # The idea is to suppress ABI change reports on functions and variable
26 # which symbol version is "GLIBC_PRIVATE".  The SONAMEs of the
27 # libraries these suppression specification are to be applied to are:
28 #
29 #      ld-linux-x86-64.so.2
30 #      libanl.so.1
31 #      libcidn.so.1
32 #      libcrypt.so.1
33 #      libc.so.6
34 #      libdl.so.2
35 #      libm.so.6
36 #      libmvec.so.1
37 #      libnsl.so.1
38 #      libnss_compat.so.2
39 #      libnss_db.so.2
40 #      libnss_dns.so.2
41 #      libnss_files.so.2
42 #      libnss_hesiod.so.2
43 #      libnss_nisplus.so.2
44 #      libnss_nis.so.2
45 #      libpthread.so.0
46 #      libresolv.so.2
47 #      librt.so.1
48 #      libthread_db.so.1
49 #      libutil.so.1
50 #
51 # The SONAMEs above can be derived from
52 #  https://sourceware.org/glibc/wiki/ABIList.
53
54 [suppress_function]
55   # Suppress ABI change reports about functions which symbol version
56   # is "GLIBC_PRIVATE"
57   symbol_version = GLIBC_PRIVATE
58
59   # And we want to restrict this suppression specification only to
60   # libraries with these SONAMEs:
61   soname_regexp = (libanl|libcidn|libcrypt|libc|libdl|libm|libmvec|libnsl|libnss_compat|libnss_db|libnss_dns|libnss_files|libnss_hesiod|libnss_nisplus|libnss_nis|libpthread|libresolv|librt|libthread_db|libutil|ld\[a-z0-9-\]*)\\.so\\.\[0-9\]*
62
63 [suppress_variable]
64   # Suppress ABI change reports about functions which symbol version
65   # is "GLIBC_PRIVATE"
66   symbol_version = GLIBC_PRIVATE
67
68   # And we want to restrict this suppression specification only to
69   # libraries with these SONAMEs:
70   soname_regexp = (libanl|libcidn|libcrypt|libc|libdl|libm|libmvec|libnsl|libnss_compat|libnss_db|libnss_dns|libnss_files|libnss_hesiod|libnss_nisplus|libnss_nis|libpthread|libresolv|librt|libthread_db|libutil|ld\[a-z0-9-\]*)\\.so\\.\[0-9\]*
71
72 #############################################
73 # End of glibc suppression specifications
74 ############################################
75
76 ###########################################################
77 # Below are  suppression specifications for webkitgtk
78 ###########################################################
79
80 [suppress_function]
81   soname_regexp = libwebkit2?gtk-.*\\.so.*
82   name_not_regexp = ^webkit_.*
83   drop = true
84
85 [suppress_variable]
86   soname_regexp = libwebkit2?gtk-.*\\.so.*
87   name_regexp = (^std::.*|WebCore::.*|WebKit::.*)
88   drop = true
89
90 [suppress_type]
91   soname_regexp = libwebkit2?gtk-.*\\.so.*
92   name_regexp = (^std::.*|WebCore::.*|WebKit::.*)
93   drop = true
94
95 #######################################################
96 # End of webkitgtk suppression specifications
97 #######################################################
98
99 ########################################################
100 # Suppression specification for C++ libraries
101 # that are not libstdc++.so
102 ########################################################
103
104 [suppress_function]
105   soname_not_regexp = libstdc\\+\\+\\.so.*
106   name_regexp = std::.*
107   drop = true
108
109 [suppress_variable]
110   soname_not_regexp = libstdc\\+\\+\\.so.*
111   name_regexp = std::.*
112   drop = true
113
114 ########################################################
115 # End of suppression specification for C++ libraries
116 # that are not libstdc++.so
117 ########################################################
118
119 ########################################################
120 # Suppression specification for C++ libraries
121 # that are not Boost.
122 ########################################################
123
124 [suppress_function]
125   soname_not_regexp = libboost_.*\\.so.*
126   name_regexp = boost::.*
127   drop = true
128
129 [suppress_variable]
130   soname_not_regexp = libboost_.*\\.so.*
131   name_regexp = boost::.*
132   drop = true
133
134 ########################################################
135 # End of suppression specification for C++ libraries
136 # that are not Boost.
137 ########################################################
138
139 ###########################################################
140 # Do not compare the kernel.img file from the grub2 package
141 ###########################################################
142
143 [suppress_file]
144   file_name_regexp = kernel\\.img
145
146 #####################################################################
147 # End of "Do not compare the kernel.img file from the grub2 package"
148 #####################################################################
149
150
151 ##########################################
152 # krb5 default suppression specifications
153 #########################################
154 [suppress_function]
155   # Suppress ABI change reports about functions starting with the name
156   # krb5int_* in libraries named libkrb5<something>.so
157   soname_regexp = libkrb5.*\\.so.*
158   name_regexp = ^krb5int_.*
159 ##########################################
160 # End of krb5 suppression specifications
161 #########################################
162
163
164 #############################################
165 # libvirt default suppression specifications
166 #############################################
167 [suppress_function]
168   # Suppress ABI change reports about functions with symbol version
169   # LIBVIRT_PRIVATE
170   symbol_version = LIBVIRT_PRIVATE
171   soname_regexp = libvirt\\.so.*
172 ####################################################
173 # End of libvirt default suppression specifications
174 ####################################################