Commit | Line | Data |
---|---|---|
250d07de | 1 | /* Copyright (C) 2019-2021 Free Software Foundation, Inc. |
87279e3c NA |
2 | |
3 | This file is part of libctf. | |
4 | ||
5 | libctf is free software; you can redistribute it and/or modify it under | |
6 | the terms of the GNU General Public License as published by the Free | |
7 | Software Foundation; either version 3, or (at your option) any later | |
8 | version. | |
9 | ||
10 | This program is distributed in the hope that it will be useful, but | |
11 | WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |
13 | See the GNU General Public License for more details. | |
14 | ||
15 | You should have received a copy of the GNU General Public License | |
16 | along with this program; see the file COPYING. If not see | |
17 | <http://www.gnu.org/licenses/>. */ | |
18 | ||
19 | LIBCTF_1.0 { | |
20 | global: | |
21 | /* In libctf and libctf-nobfd. */ | |
22 | ||
23 | ctf_bufopen; | |
24 | ctf_simple_open; | |
25 | ctf_create; | |
26 | ctf_close; | |
2399827b | 27 | ctf_ref; |
87279e3c NA |
28 | ctf_file_close; |
29 | ||
30 | ctf_cuname; | |
31 | ctf_cuname_set; | |
32 | ctf_parent_file; | |
33 | ctf_parent_name; | |
34 | ctf_parent_name_set; | |
35 | ctf_type_isparent; | |
36 | ctf_type_ischild; | |
37 | ||
38 | ctf_import; | |
39 | ctf_setmodel; | |
40 | ctf_getmodel; | |
41 | ||
42 | ctf_setspecific; | |
43 | ctf_getspecific; | |
44 | ||
45 | ctf_errno; | |
46 | ctf_errmsg; | |
47 | ctf_version; | |
48 | ||
49 | ctf_func_info; | |
50 | ctf_func_args; | |
51 | ctf_func_type_info; | |
52 | ctf_func_type_args; | |
53 | ||
54 | ctf_lookup_by_name; | |
55 | ctf_lookup_by_symbol; | |
56 | ctf_lookup_variable; | |
57 | ||
58 | ctf_type_resolve; | |
59 | ctf_type_lname; | |
60 | ctf_type_name; | |
01d93174 | 61 | ctf_type_name_raw; |
87279e3c NA |
62 | ctf_type_aname; |
63 | ctf_type_aname_raw; | |
64 | ctf_type_size; | |
65 | ctf_type_align; | |
66 | ctf_type_kind; | |
9b15cbb7 | 67 | ctf_type_kind_forwarded; |
87279e3c NA |
68 | ctf_type_reference; |
69 | ctf_type_pointer; | |
70 | ctf_type_encoding; | |
71 | ctf_type_visit; | |
72 | ctf_type_cmp; | |
73 | ctf_type_compat; | |
74 | ||
75 | ctf_member_info; | |
688d28f6 | 76 | ctf_member_next; |
87279e3c | 77 | ctf_array_info; |
e0325e2c | 78 | ctf_member_count; |
87279e3c NA |
79 | |
80 | ctf_enum_name; | |
81 | ctf_enum_value; | |
82 | ||
83 | ctf_label_set; | |
84 | ctf_label_get; | |
85 | ||
86 | ctf_label_topmost; | |
87 | ctf_label_info; | |
88 | ||
89 | ctf_member_iter; | |
90 | ctf_enum_iter; | |
688d28f6 | 91 | ctf_enum_next; |
87279e3c | 92 | ctf_type_iter; |
688d28f6 | 93 | ctf_type_next; |
87279e3c NA |
94 | ctf_type_iter_all; |
95 | ctf_label_iter; | |
96 | ctf_variable_iter; | |
688d28f6 NA |
97 | ctf_variable_next; |
98 | ||
99 | ctf_next_create; | |
100 | ctf_next_destroy; | |
101 | ctf_next_copy; | |
87279e3c NA |
102 | |
103 | ctf_add_array; | |
104 | ctf_add_const; | |
105 | ctf_add_enum; | |
106 | ctf_add_enum_encoded; | |
107 | ctf_add_float; | |
108 | ctf_add_forward; | |
109 | ctf_add_function; | |
110 | ctf_add_integer; | |
111 | ctf_add_pointer; | |
112 | ctf_add_type; | |
113 | ctf_add_typedef; | |
114 | ctf_add_restrict; | |
115 | ctf_add_slice; | |
116 | ctf_add_struct; | |
117 | ctf_add_union; | |
118 | ctf_add_struct_sized; | |
119 | ctf_add_union_sized; | |
120 | ctf_add_volatile; | |
121 | ||
122 | ctf_add_enumerator; | |
123 | ctf_add_member; | |
124 | ctf_add_member_offset; | |
125 | ctf_add_member_encoded; | |
126 | ctf_add_variable; | |
127 | ||
128 | ctf_set_array; | |
129 | ||
130 | ctf_update; | |
131 | ctf_discard; | |
132 | ctf_snapshot; | |
133 | ctf_rollback; | |
134 | ctf_write; | |
135 | ctf_write_mem; | |
136 | ctf_gzwrite; | |
137 | ctf_compress_write; | |
138 | ctf_getdatasect; | |
139 | ||
140 | ctf_arc_write; | |
141 | ctf_arc_write_fd; | |
142 | ctf_arc_open; | |
2f6ecaed | 143 | ctf_arc_bufopen; |
87279e3c NA |
144 | ctf_arc_close; |
145 | ctf_arc_open_by_name; | |
146 | ctf_arc_open_by_name_sections; | |
9c23dfa5 | 147 | ctf_archive_count; |
87279e3c | 148 | ctf_archive_iter; |
688d28f6 | 149 | ctf_archive_next; |
87279e3c NA |
150 | ctf_archive_raw_iter; |
151 | ctf_get_arc; | |
152 | ||
153 | ctf_dump; | |
154 | ||
155 | ctf_setdebug; | |
156 | ctf_getdebug; | |
8b37e7b6 | 157 | ctf_errwarning_next; |
87279e3c | 158 | |
87279e3c NA |
159 | ctf_link_add_ctf; |
160 | ctf_link_add_cu_mapping; | |
161 | ctf_link_set_memb_name_changer; | |
6dd2819f | 162 | ctf_link_set_variable_filter; |
87279e3c NA |
163 | ctf_link; |
164 | ctf_link_add_strtab; | |
165 | ctf_link_shuffle_syms; | |
166 | ctf_link_write; | |
167 | ||
168 | /* In libctf alone. */ | |
169 | ||
170 | ctf_fdopen; | |
171 | ctf_open; | |
172 | ctf_bfdopen; | |
173 | ctf_bfdopen_ctfsect; | |
174 | local: | |
175 | *; | |
176 | }; | |
139633c3 NA |
177 | |
178 | LIBCTF_1.1 { | |
179 | global: | |
ae41200b NA |
180 | ctf_dict_open; |
181 | ctf_dict_open_sections; | |
139633c3 NA |
182 | ctf_dict_close; |
183 | ctf_parent_dict; | |
3d16b64e | 184 | |
1136c379 NA |
185 | ctf_symbol_next; |
186 | ctf_add_objt_sym; | |
187 | ctf_add_func_sym; | |
188 | ||
3d16b64e | 189 | ctf_link_add_linker_symbol; |
2c78e925 NA |
190 | |
191 | ctf_arc_lookup_symbol; | |
192 | ctf_arc_flush_caches; | |
97a2a623 NA |
193 | |
194 | ctf_getsymsect; | |
195 | ctf_getstrsect; | |
53651de8 NA |
196 | ctf_symsect_endianness; |
197 | ctf_arc_symsect_endianness; | |
139633c3 | 198 | } LIBCTF_1.0; |
f4f60336 NA |
199 | |
200 | LIBCTF_1.2 { | |
201 | global: | |
202 | ctf_lookup_by_symbol_name; | |
203 | ctf_arc_lookup_symbol_name; | |
49da556c | 204 | ctf_add_unknown; |
f4f60336 | 205 | } LIBCTF_1.1; |