1# 2# CDDL HEADER START 3# 4# The contents of this file are subject to the terms of the 5# Common Development and Distribution License (the "License"). 6# You may not use this file except in compliance with the License. 7# 8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9# or http://www.opensolaris.org/os/licensing. 10# See the License for the specific language governing permissions 11# and limitations under the License. 12# 13# When distributing Covered Code, include this CDDL HEADER in each 14# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15# If applicable, add the following below this CDDL HEADER, with the 16# fields enclosed by brackets "[]" replaced with your own identifying 17# information: Portions Copyright [yyyy] [name of copyright owner] 18# 19# CDDL HEADER END 20# 21 22# 23# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 24# Use is subject to license terms. 25# 26#ident "%Z%%M% %I% %E% SMI" 27# 28 29{ 30 global: 31 main; # debuggers seem to like this. 32 33 34 35 # liblddbg dbg_print() function 36 dbg_print = NODIRECT; 37 38 39 40 # Core API 41 elfedit_command_usage; 42 elfedit_cpl_match; 43 elfedit_cpl_module; 44 elfedit_cpl_command; 45 elfedit_elferr; 46 elfedit_flags; 47 elfedit_malloc; 48 elfedit_msg; 49 elfedit_outstyle; 50 elfedit_pager_init; 51 elfedit_printf; 52 elfedit_realloc; 53 elfedit_str_to_c_literal; 54 elfedit_write; 55 56 57 58 # ato[u]i routines 59 elfedit_const_to_atoui; 60 elfedit_mach_sunw_hw1_to_atoui; 61 62 elfedit_atoi; 63 elfedit_atoui; 64 elfedit_atoconst; 65 66 elfedit_atoi2; 67 elfedit_atoui2; 68 elfedit_atoconst2; 69 70 elfedit_atoi_range; 71 elfedit_atoui_range; 72 elfedit_atoconst_range; 73 74 elfedit_atoi_range2; 75 elfedit_atoui_range2; 76 elfedit_atoconst_range2; 77 78 elfedit_atoi_value_to_str; 79 elfedit_atoui_value_to_str; 80 elfedit_atoconst_value_to_str; 81 82 elfedit_cpl_atoi; 83 elfedit_cpl_atoui; 84 elfedit_cpl_atoconst; 85 86 87 88 # Convenience functions built on top of the ato[u]i routines 89 elfedit_atobool; 90 elfedit_atoshndx; 91 92 93 94 # Getopt 95 elfedit_getopt_init; 96 elfedit_getopt; 97 98 99 100 # Utilities 101 elfedit_array_elts_delete; 102 103 elfedit_array_elts_move; 104 105 elfedit_bits_set; 106 107 elfedit32_dyn_elt_init; 108 elfedit64_dyn_elt_init; 109 110 elfedit32_dyn_elt_save; 111 elfedit64_dyn_elt_save; 112 113 elfedit32_dyn_offset_to_str; 114 elfedit64_dyn_offset_to_str; 115 116 elfedit32_dynstr_getpad; 117 elfedit64_dynstr_getpad; 118 119 elfedit32_dynstr_insert; 120 elfedit64_dynstr_insert; 121 122 elfedit32_modified_ehdr; 123 elfedit64_modified_ehdr; 124 125 elfedit32_modified_phdr; 126 elfedit64_modified_phdr; 127 128 elfedit32_modified_shdr; 129 elfedit64_modified_shdr; 130 131 elfedit32_modified_data; 132 elfedit64_modified_data; 133 134 elfedit32_name_to_shndx; 135 elfedit64_name_to_shndx; 136 137 elfedit32_name_to_symndx; 138 elfedit64_name_to_symndx; 139 140 elfedit32_offset_to_str; 141 elfedit64_offset_to_str; 142 143 elfedit32_sec_findstr; 144 elfedit64_sec_findstr; 145 146 elfedit32_sec_get; 147 elfedit64_sec_get; 148 149 elfedit32_sec_getcap; 150 elfedit64_sec_getcap; 151 152 elfedit32_sec_getdyn; 153 elfedit64_sec_getdyn; 154 155 elfedit32_sec_getstr; 156 elfedit64_sec_getstr; 157 158 elfedit32_sec_getsyminfo; 159 elfedit64_sec_getsyminfo; 160 161 elfedit32_sec_getsymtab; 162 elfedit64_sec_getsymtab; 163 164 elfedit32_sec_getversym; 165 elfedit64_sec_getversym; 166 167 elfedit32_sec_getxshndx; 168 elfedit64_sec_getxshndx; 169 170 elfedit32_sec_issymtab; 171 elfedit64_sec_issymtab; 172 173 elfedit32_shndx_to_name; 174 elfedit64_shndx_to_name; 175 176 elfedit32_sec_msgprefix; 177 elfedit64_sec_msgprefix; 178 179 elfedit32_strtab_insert; 180 elfedit64_strtab_insert; 181 182 elfedit32_strtab_insert_test; 183 elfedit64_strtab_insert_test; 184 185 elfedit32_type_to_shndx; 186 elfedit64_type_to_shndx; 187 188 local: 189 *; 190}; 191