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/* LINTLIBRARY */ 22/* PROTOLIB1 */ 23 24/* 25 * Copyright 2009 Sun Microsystems, Inc. All rights reserved. 26 * Use is subject to license terms. 27 */ 28 29#include <sys/types.h> 30#include <sys/auxv.h> 31#include <debug.h> 32 33uintptr_t 34 Dbg_setup(const char *, Dbg_desc *); 35const char * 36 Dbg_demangle_name(const char *); 37 38void Dbg_args_files(Lm_list *, int, char *); 39void Dbg_args_opts(Lm_list *, int, int, char *); 40void Dbg_args_str2chr(Lm_list *, int, const char *, int); 41void Dbg_args_Wldel(Lm_list *, int, const char *); 42void Dbg_audit_ignore(Rt_map *); 43void Dbg_audit_interface(Lm_list *, const char *, const char *); 44void Dbg_audit_lib(Lm_list *, const char *); 45void Dbg_audit_object(Lm_list *, const char *, const char *); 46void Dbg_audit_symval(Lm_list *, const char *, const char *, const char *, 47 Addr, Addr); 48void Dbg_audit_skip(Lm_list *, const char *, const char *); 49void Dbg_audit_terminate(Lm_list *, const char *); 50void Dbg_audit_version(Lm_list *, const char *, ulong_t); 51 52void Dbg_tls_modactivity(Lm_list *, void *, uint_t); 53void Dbg_tls_static_block(Lm_list *, void *, ulong_t, ulong_t); 54void Dbg_tls_static_resv(Rt_map *, ulong_t, ulong_t); 55 56void Dbg32_bind_global(Rt_map *, Elf32_Addr, Elf32_Off, Elf32_Word, 57 Pltbindtype, Rt_map *, Elf32_Addr, Elf32_Off, const char *, uint_t); 58void Dbg64_bind_global(Rt_map *, Elf64_Addr, Elf64_Off, Elf64_Xword, 59 Pltbindtype, Rt_map *, Elf64_Addr, Elf64_Off, const char *, uint_t); 60void Dbg64_bind_pltpad_to(Rt_map *, Addr, const char *, const char *); 61void Dbg64_bind_pltpad_from(Rt_map *, Addr, const char *); 62void Dbg32_bind_reject(Rt_map *, Rt_map *, const char *, int); 63void Dbg64_bind_reject(Rt_map *, Rt_map *, const char *, int); 64void Dbg32_bind_weak(Rt_map *, Elf32_Addr, Elf32_Addr, const char *); 65void Dbg64_bind_weak(Rt_map *, Elf64_Addr, Elf64_Addr, const char *); 66 67void Dbg32_cap_hw_candidate(Lm_list *, const char *); 68void Dbg64_cap_hw_candidate(Lm_list *, const char *); 69void Dbg32_cap_hw_filter(Lm_list *, const char *, Rt_map *); 70void Dbg64_cap_hw_filter(Lm_list *, const char *, Rt_map *); 71void Dbg32_cap_mapfile(Lm_list *, Elf32_Word, Elf32_Word, Elf32_Half); 72void Dbg64_cap_mapfile(Lm_list *, Elf64_Xword, Elf64_Xword, Elf64_Half); 73void Dbg32_cap_sec_entry(Lm_list *, uint_t, Elf32_Word, Elf32_Word, 74 Elf32_Half); 75void Dbg64_cap_sec_entry(Lm_list *, uint_t, Elf64_Xword, Elf64_Xword, 76 Elf64_Half); 77void Dbg32_cap_sec_title(Lm_list *, const char *); 78void Dbg64_cap_sec_title(Lm_list *, const char *); 79void Dbg32_cap_val_hw1(Lm_list *, Elf32_Word, Elf32_Half); 80void Dbg64_cap_val_hw1(Lm_list *, Elf64_Xword, Elf64_Half); 81 82void Dbg32_ent_print(Lm_list *, Elf32_Half, List *, Boolean); 83void Dbg64_ent_print(Lm_list *, Elf64_Half, List *, Boolean); 84 85void Dbg32_file_analyze(Rt_map *); 86void Dbg64_file_analyze64(Rt_map *); 87void Dbg32_file_aout(Lm_list *, const char *, ulong_t, ulong_t, ulong_t, 88 const char *, Aliste); 89void Dbg64_file_aout(Lm_list *, const char *, ulong_t, ulong_t, ulong_t, 90 const char *, Aliste); 91void Dbg32_file_archive(Lm_list *, const char *, int); 92void Dbg64_file_archive(Lm_list *, const char *, int); 93void Dbg32_file_bind_entry(Lm_list *, Bnd_desc *); 94void Dbg64_file_bind_entry(Lm_list *, Bnd_desc *); 95void Dbg32_file_bindings(Rt_map *, int); 96void Dbg64_file_bindings(Rt_map *, int); 97void Dbg32_file_config_dis(Lm_list *, const char *, int); 98void Dbg64_file_config_dis(Lm_list *, const char *, int); 99void Dbg32_file_config_obj(Lm_list *, const char *, const char *, 100 const char *); 101void Dbg64_file_config_obj(Lm_list *, const char *, const char *, 102 const char *); 103void Dbg32_file_cntl(Lm_list *, Aliste, Aliste); 104void Dbg64_file_cntl(Lm_list *, Aliste, Aliste); 105void Dbg32_file_cleanup(Lm_list *, const char *, Aliste); 106void Dbg64_file_cleanup(Lm_list *, const char *, Aliste); 107void Dbg32_file_del_rescan(Lm_list *); 108void Dbg64_file_del_rescan(Lm_list *); 109void Dbg32_file_delete(Rt_map *); 110void Dbg64_file_delete(Rt_map *); 111void Dbg32_file_dlclose(Lm_list *, const char *, int); 112void Dbg64_file_dlclose(Lm_list *, const char *, int); 113void Dbg32_file_dldump(Rt_map *, const char *, int); 114void Dbg64_file_dldump(Rt_map *, const char *, int); 115void Dbg32_file_dlopen(Rt_map *, const char *, int *, int); 116void Dbg64_file_dlopen(Rt_map *, const char *, int *, int); 117void Dbg32_file_elf(Lm_list *, const char *, ulong_t, ulong_t, ulong_t, 118 ulong_t, const char *, Aliste); 119void Dbg64_file_elf(Lm_list *, const char *, ulong_t, ulong_t, ulong_t, 120 ulong_t, const char *, Aliste); 121void Dbg32_file_filtee(Lm_list *, const char *, const char *, int); 122void Dbg64_file_filtee(Lm_list *, const char *, const char *, int); 123void Dbg32_file_filter(Lm_list *, const char *, const char *, int); 124void Dbg64_file_filter(Lm_list *, const char *, const char *, int); 125void Dbg64_file_fixname(Lm_list *, const char *, const char *); 126void Dbg32_file_fixname(Lm_list *, const char *, const char *); 127void Dbg32_file_hdl_action(Grp_hdl *, Rt_map *, int, uint_t); 128void Dbg64_file_hdl_action(Grp_hdl *, Rt_map *, int, uint_t); 129void Dbg32_file_hdl_collect(Grp_hdl *, const char *); 130void Dbg64_file_hdl_collect(Grp_hdl *, const char *); 131void Dbg32_file_hdl_title(int); 132void Dbg64_file_hdl_title(int); 133void Dbg64_file_lazyload(Rt_map *, const char *, const char *); 134void Dbg32_file_lazyload(Rt_map *, const char *, const char *); 135void Dbg32_file_ldso(Rt_map *, char **, auxv_t *, const char *, Aliste); 136void Dbg64_file_ldso(Rt_map *, char **, auxv_t *, const char *, Aliste); 137void Dbg32_file_mode_promote(Rt_map *, int); 138void Dbg64_file_mode_promote(Rt_map *, int); 139void Dbg32_file_modified(Lm_list *, const char *, const char *, const char *, 140 int, int, Elf *, Elf *); 141void Dbg64_file_modified(Lm_list *, const char *, const char *, const char *, 142 int, int, Elf *, Elf *); 143void Dbg32_file_needed(Rt_map *, const char *); 144void Dbg64_file_needed(Rt_map *, const char *); 145void Dbg32_file_output(Ofl_desc *); 146void Dbg64_file_output64(Ofl_desc *); 147void Dbg32_file_preload(Lm_list *, const char *); 148void Dbg64_file_preload(Lm_list *, const char *); 149void Dbg32_file_prot(Rt_map *, int); 150void Dbg64_file_prot(Rt_map *, int); 151void Dbg32_file_rejected(Lm_list *, Rej_desc *, Elf32_Half); 152void Dbg64_file_rejected(Lm_list *, Rej_desc *, Elf32_Half); 153void Dbg32_file_reuse(Lm_list *, const char *, const char *); 154void Dbg64_file_reuse(Lm_list *, const char *, const char *); 155void Dbg32_file_skip(Lm_list *, const char *, const char *); 156void Dbg64_file_skip(Lm_list *, const char *, const char *); 157 158void Dbg32_got_display(Ofl_desc *, Elf32_Off, int, 159 Elf32_Word, size_t m_got_entsize); 160void Dbg64_got_display(Ofl_desc *, Elf64_Off, int, 161 Elf64_Word, size_t m_got_entsize); 162 163void Dbg32_libs_audit(Lm_list *, const char *, const char *); 164void Dbg64_libs_audit(Lm_list *, const char *, const char *); 165void Dbg32_libs_find(Lm_list *, const char *); 166void Dbg64_libs_find(Lm_list *, const char *); 167void Dbg32_libs_found(Lm_list *, const char *, int); 168void Dbg64_libs_found(Lm_list *, const char *, int); 169void Dbg32_libs_insecure(Lm_list *, const char *, int); 170void Dbg64_libs_insecure(Lm_list *, const char *, int); 171void Dbg32_libs_init(Lm_list *, List *, List *); 172void Dbg64_libs_init(Lm_list *, List *, List *); 173void Dbg32_libs_l(Lm_list *, const char *, const char *); 174void Dbg64_libs_l(Lm_list *, const char *, const char *); 175void Dbg32_libs_path(Lm_list *, const char *, uint_t, const char *); 176void Dbg64_libs_path(Lm_list *, const char *, uint_t, const char *); 177void Dbg32_libs_req(Lm_list *, const char *, const char *, const char *); 178void Dbg64_libs_req(Lm_list *, const char *, const char *, const char *); 179void Dbg32_libs_update(Lm_list *, List *, List *); 180void Dbg64_libs_update(Lm_list *, List *, List *); 181void Dbg32_libs_yp(Lm_list *, const char *); 182void Dbg64_libs_yp(Lm_list *, const char *); 183void Dbg32_libs_ylu(Lm_list *, const char *, const char *, int); 184void Dbg64_libs_ylu(Lm_list *, const char *, const char *, int); 185 186void Dbg32_map_dash(Lm_list *, const char *, Sdf_desc *); 187void Dbg64_map_dash(Lm_list *, const char *, Sdf_desc *); 188void Dbg32_map_ent(Lm_list *, Boolean, Ent_desc *, Ofl_desc *); 189void Dbg64_map_ent(Lm_list *, Boolean, Ent_desc *, Ofl_desc *); 190void Dbg32_map_parse(Lm_list *, const char *); 191void Dbg64_map_parse(Lm_list *, const char *); 192void Dbg32_map_pipe(Lm_list *, Sg_desc *, const char *, Elf32_Word); 193void Dbg64_map_pipe(Lm_list *, Sg_desc *, const char *, Elf64_Word); 194void Dbg32_map_set_atsign(Boolean); 195void Dbg64_map_set_atsign(Boolean); 196void Dbg32_map_seg(Ofl_desc *, int, Sg_desc *); 197void Dbg64_map_seg(Ofl_desc *, int, Sg_desc *); 198void Dbg32_map_set_equal(Boolean); 199void Dbg64_map_set_equal(Boolean); 200void Dbg32_map_size_new(Lm_list *, const char *); 201void Dbg64_map_size_new(Lm_list *, const char *); 202void Dbg32_map_size_old(Ofl_desc *, Sym_desc *); 203void Dbg64_map_size_old(Ofl_desc *, Sym_desc *); 204void Dbg32_map_sort_fini(Lm_list *, Sg_desc *); 205void Dbg64_map_sort_fini(Lm_list *, Sg_desc *); 206void Dbg32_map_sort_orig(Lm_list *, Sg_desc *); 207void Dbg64_map_sort_orig(Lm_list *, Sg_desc *); 208void Dbg32_map_symbol(Ofl_desc *, Sym_desc *); 209void Dbg64_map_symbol(Ofl_desc *, Sym_desc *); 210void Dbg32_map_version(Lm_list *, const char *, const char *, int); 211void Dbg64_map_version(Lm_list *, const char *, const char *, int); 212 213void Dbg32_move_adjexpandreloc(Lm_list *, Elf32_Word, const char *); 214void Dbg64_move_adjexpandreloc(Lm_list *, Elf64_Xword, const char *); 215void Dbg32_move_adjmovereloc(Lm_list *, Elf32_Word, Elf32_Word, 216 const char *); 217void Dbg64_move_adjmovereloc(Lm_list *, Elf64_Xword, Elf64_Xword, 218 const char *); 219void Dbg32_move_data(Rt_map *); 220void Dbg64_move_data(Rt_map *); 221void Dbg32_move_entry1(Lm_list *, int, Move *, Sym_desc *); 222void Dbg64_move_entry1(Lm_list *, int, Move *, Sym_desc *); 223void Dbg32_move_entry2(Lm_list *, Elf32_Move *, Elf32_Word, const char *); 224void Dbg64_move_entry2(Lm_list *, Elf64_Move *, Elf64_Word, const char *); 225void Dbg32_move_expand(Lm_list *, Elf32_Move *, Elf32_Addr); 226void Dbg64_move_expand(Lm_list *, Elf64_Move *, Elf64_Addr); 227void Dbg32_move_input(Lm_list *, const char *); 228void Dbg64_move_input(Lm_list *, const char *); 229void Dbg32_move_outmove(Lm_list *, const char *); 230void Dbg64_move_outmove(Lm_list *, const char *); 231void Dbg32_move_outsctadj(Lm_list *, Sym_desc *); 232void Dbg64_move_outsctadj(Lm_list *, Sym_desc *); 233void Dbg32_move_parexpn(Lm_list *, const char *, const char *); 234void Dbg64_move_parexpn(Lm_list *, const char *, const char *); 235 236void Dbg32_reloc_apply_reg(Lm_list *, int, Elf32_Half, Elf32_Word, 237 Elf32_Word); 238void Dbg64_reloc_apply_reg(Lm_list *, int, Elf64_Half, Elf64_Xword, 239 Elf64_Xword); 240void Dbg32_reloc_apply_val(Lm_list *, int, Elf32_Word, Elf32_Word); 241void Dbg64_reloc_apply_val(Lm_list *, int, Elf64_Xword, Elf64_Xword); 242void Dbg32_reloc_ars_entry(Lm_list *, int, Elf32_Word, Elf32_Half, Rel_desc *); 243void Dbg64_reloc_ars_entry(Lm_list *, int, Elf64_Word, Elf64_Half, Rel_desc *); 244void Dbg32_reloc_copy(Rt_map *, Rt_map *, const char *, int); 245void Dbg64_reloc_copy(Rt_map *, Rt_map *, const char *, int); 246void Dbg32_reloc_discard(Lm_list *, Elf32_Half, Rel_desc *); 247void Dbg64_reloc_discard(Lm_list *, Elf64_Half, Rel_desc *); 248void Dbg32_reloc_doact(Lm_list *, int, Elf32_Half, Elf32_Word, Elf32_Word, 249 Elf32_Word, Elf32_Word, const char *, Os_desc *); 250void Dbg64_reloc_doact(Lm_list *, int, Elf64_Half, Elf64_Word, Elf64_Word, 251 Elf64_Xword, Elf64_Xword, const char *, Os_desc *); 252void Dbg32_reloc_doact_title(Lm_list *); 253void Dbg64_reloc_doact_title(Lm_list *); 254void Dbg32_reloc_dooutrel(Lm_list *, Elf32_Word); 255void Dbg64_reloc_dooutrel(Lm_list *, Elf64_Word); 256void Dbg32_reloc_entry(Lm_list *, const char *, Elf32_Half, Elf32_Word, 257 void *, const char *, const char *, const char *); 258void Dbg64_reloc_entry(Lm_list *, const char *, Elf64_Half, Elf64_Word, 259 void *, const char *, const char *, const char *); 260void Dbg32_reloc_error(Lm_list *, int, Elf32_Half, Elf32_Word, void *, 261 const char *); 262void Dbg64_reloc_error(Lm_list *, int, Elf64_Half, Elf64_Word, void *, 263 const char *); 264void Dbg32_reloc_generate(Lm_list *, Os_desc *, Elf32_Word); 265void Dbg64_reloc_generate(Lm_list *, Os_desc *, Elf64_Word); 266void Dbg32_reloc_in(Lm_list *, int, Elf32_Half, Elf32_Word, void *, 267 const char *, const char *); 268void Dbg64_reloc_in(Lm_list *, int, Elf64_Half, Elf64_Word, void *, 269 const char *, const char *); 270void Dbg32_reloc_ors_entry(Lm_list *, int, Elf32_Word, Elf32_Half, Rel_desc *); 271void Dbg64_reloc_ors_entry(Lm_list *, int, Elf64_Word, Elf64_Half, Rel_desc *); 272void Dbg32_reloc_out(Ofl_desc *, int, Elf32_Word, void *, const char *, 273 const char *); 274void Dbg64_reloc_out(Ofl_desc *, int, Elf64_Word, void *, const char *, 275 const char *); 276void Dbg32_reloc_proc(Lm_list *, Os_desc *, Is_desc *, Is_desc *); 277void Dbg64_reloc_proc(Lm_list *, Os_desc *, Is_desc *, Is_desc *); 278void Dbg32_reloc_run(Rt_map *, uint_t, int, int); 279void Dbg64_reloc_run(Rt_map *, uint_t, int, int); 280void Dbg32_reloc_transition(Lm_list *, Elf32_Half, Elf32_Word, Rel_desc *); 281void Dbg64_reloc_transition(Lm_list *, Elf64_Half, Elf64_Word, Rel_desc *); 282 283void Dbg32_sec_added(Lm_list *, Os_desc *, Sg_desc *); 284void Dbg64_sec_added(Lm_list *, Os_desc *, Sg_desc *); 285void Dbg32_sec_created(Lm_list *, Os_desc *, Sg_desc *); 286void Dbg64_sec_created(Lm_list *, Os_desc *, Sg_desc *); 287void Dbg32_sec_discarded(Lm_list *, Is_desc *, Is_desc *); 288void Dbg64_sec_discarded(Lm_list *, Is_desc *, Is_desc *); 289void Dbg32_sec_group(Lm_list *, Is_desc *, Group_desc *); 290void Dbg64_sec_group(Lm_list *, Is_desc *, Group_desc *); 291void Dbg32_sec_gnu_comdat(Lm_list *, const char *, uint_t, uint_t); 292void Dbg64_sec_gnu_comdat(Lm_list *, const char *, uint_t, uint_t); 293void Dbg32_sec_in(Lm_list *, Is_desc *); 294void Dbg64_sec_in(Lm_list *, Is_desc *); 295void Dbg32_sec_order_error(Lm_list *, Ifl_desc *, Elf32_Word, int); 296void Dbg64_sec_order_error(Lm_list *, Ifl_desc *, Elf64_Word, int); 297void Dbg32_sec_order_list(Ofl_desc *, int); 298void Dbg64_sec_order_list(Ofl_desc *, int); 299void Dbg32_sec_redirected(Lm_list *, const char *, const char *); 300void Dbg64_sec_redirected(Lm_list *, const char *, const char *); 301void Dbg32_sec_strtab(Lm_list *, Os_desc *, Str_tbl *); 302void Dbg64_sec_strtab(Lm_list *, Os_desc *, Str_tbl *); 303 304void Dbg32_seg_desc_entry(Lm_list *, Elf32_Half, int, Sg_desc *); 305void Dbg64_seg_desc_entry(Lm_list *, Elf64_Half, int, Sg_desc *); 306void Dbg32_seg_entry(Ofl_desc *, int, Sg_desc *); 307void Dbg64_seg_entry(Ofl_desc *, int, Sg_desc *); 308void Dbg32_seg_list(Lm_list *, Elf32_Half, List *); 309void Dbg64_seg_list(Lm_list *, Elf64_Half, List *); 310void Dbg32_seg_os(Ofl_desc *, Os_desc *, int); 311void Dbg64_seg_os(Ofl_desc *, Os_desc *, int); 312void Dbg32_seg_title(Lm_list *); 313void Dbg64_seg_title(Lm_list *); 314 315void Dbg32_shdr_modified(Lm_list *, const char *, Half, Shdr *, Shdr *, 316 const char *); 317void Dbg64_shdr_modified(Lm_list *, const char *, Half, Shdr *, Shdr *, 318 const char *); 319 320void Dbg32_statistics_ar(Ofl_desc *); 321void Dbg64_statistics_ar(Ofl_desc *); 322void Dbg32_statistics_ld(Ofl_desc *); 323void Dbg64_statistics_ld(Ofl_desc *); 324 325void Dbg32_support_action(Lm_list *, const char *, const char *, Support_ndx, 326 const char *); 327void Dbg64_support_action(Lm_list *, const char *, const char *, Support_ndx, 328 const char *); 329void Dbg32_support_load(Lm_list *, const char *, const char *); 330void Dbg64_support_load(Lm_list *, const char *, const char *); 331void Dbg32_support_req(Lm_list *, const char *, int); 332void Dbg64_support_req(Lm_list *, const char *, int); 333 334void Dbg32_syminfo_entry(Lm_list *, Elf32_Word, Syminfo *, Sym *, const char *, 335 Dyn *); 336void Dbg64_syminfo_entry(Lm_list *, Elf64_Word, Syminfo *, Sym *, const char *, 337 Dyn *); 338void Dbg32_syminfo_title(Lm_list *); 339void Dbg64_syminfo_title(Lm_list *); 340 341void Dbg32_syms_ar_checking(Lm_list *, Xword, Elf_Arsym *, const char *); 342void Dbg64_syms_ar_checking(Lm_list *, Xword, Elf_Arsym *, const char *); 343void Dbg32_syms_ar_entry(Lm_list *, Xword, Elf_Arsym *); 344void Dbg64_syms_ar_entry(Lm_list *, Xword, Elf_Arsym *); 345void Dbg32_syms_ar_resolve(Lm_list *, Xword, Elf_Arsym *, const char *, int); 346void Dbg64_syms_ar_resolve(Lm_list *, Xword, Elf_Arsym *, const char *, int); 347void Dbg32_syms_ar_title(Lm_list *, const char *, int); 348void Dbg64_syms_ar_title(Lm_list *, const char *, int); 349void Dbg32_syms_created(Lm_list *, const char *); 350void Dbg64_syms_created(Lm_list *, const char *); 351void Dbg32_syms_discarded(Lm_list *, Sym_desc *); 352void Dbg64_syms_discarded(Lm_list *, Sym_desc *); 353void Dbg32_syms_dlsym(Rt_map *, const char *, int *, const char *, int); 354void Dbg64_syms_dlsym(Rt_map *, const char *, int *, const char *, int); 355void Dbg32_syms_entered(Ofl_desc *, Sym *, Sym_desc *); 356void Dbg64_syms_entered(Ofl_desc *, Sym *, Sym_desc *); 357void Dbg32_syms_entry(Lm_list *, Elf32_Word, Sym_desc *); 358void Dbg64_syms_entry(Lm_list *, Elf64_Word, Sym_desc *); 359void Dbg32_syms_global(Lm_list *, Elf32_Word, const char *); 360void Dbg64_syms_global(Lm_list *, Elf64_Word, const char *); 361void Dbg32_syms_ignore(Ofl_desc *, Sym_desc *); 362void Dbg64_syms_ignore(Ofl_desc *, Sym_desc *); 363void Dbg32_syms_lazy_rescan(Lm_list *, const char *); 364void Dbg64_syms_lazy_rescan(Lm_list *, const char *); 365void Dbg32_syms_lookup(Rt_map *, const char *, const char *); 366void Dbg64_syms_lookup(Rt_map *, const char *, const char *); 367void Dbg32_syms_lookup_aout(Lm_list *, const char *); 368void Dbg32_syms_new(Ofl_desc *, Sym *, Sym_desc *); 369void Dbg64_syms_new(Ofl_desc *, Sym *, Sym_desc *); 370void Dbg32_syms_old(Ofl_desc *, Sym_desc *); 371void Dbg64_syms_old(Ofl_desc *, Sym_desc *); 372void Dbg32_syms_process(Lm_list *, Ifl_desc *); 373void Dbg64_syms_process(Lm_list *, Ifl_desc *); 374void Dbg32_syms_reduce(Ofl_desc *, int, Sym_desc *, int, const char *); 375void Dbg64_syms_reduce(Ofl_desc *, int, Sym_desc *, int, const char *); 376void Dbg32_syms_reloc(Ofl_desc *, Sym_desc *); 377void Dbg64_syms_reloc(Ofl_desc *, Sym_desc *); 378void Dbg32_syms_resolved(Ofl_desc *, Sym_desc *); 379void Dbg64_syms_resolved(Ofl_desc *, Sym_desc *); 380void Dbg32_syms_resolving(Ofl_desc *, Elf32_Word, const char *, int, int, 381 Sym *, Sym *, Sym_desc *, Ifl_desc *); 382void Dbg64_syms_resolving(Ofl_desc *, Elf64_Word, const char *, int, int, 383 Sym *, Sym *, Sym_desc *, Ifl_desc *); 384void Dbg32_syms_sec_entry(Lm_list *, Elf32_Word, Sg_desc *, Os_desc *); 385void Dbg64_syms_sec_entry(Lm_list *, Elf64_Word, Sg_desc *, Os_desc *); 386void Dbg32_syms_sec_title(Lm_list *); 387void Dbg64_syms_sec_title(Lm_list *); 388void Dbg32_syms_spec_title(Lm_list *); 389void Dbg64_syms_spec_title(Lm_list *); 390void Dbg32_syms_updated(Ofl_desc *, Sym_desc *, const char *); 391void Dbg64_syms_updated(Ofl_desc *, Sym_desc *, const char *); 392void Dbg32_syms_up_title(Lm_list *); 393void Dbg64_syms_up_title(Lm_list *); 394 395void Dbg32_util_broadcast(Rt_map *); 396void Dbg64_util_broadcast(Rt_map *); 397void Dbg32_util_call_array(Rt_map *, void *, int, Elf32_Word); 398void Dbg64_util_call_array(Rt_map *, void *, int, Elf64_Word); 399void Dbg32_util_call_fini(Rt_map *); 400void Dbg64_util_call_fini(Rt_map *); 401void Dbg32_util_call_init(Rt_map *, int); 402void Dbg64_util_call_init(Rt_map *, int); 403void Dbg32_util_call_main(Rt_map *); 404void Dbg64_util_call_main(Rt_map *); 405void Dbg32_util_collect(Rt_map *, int, int); 406void Dbg64_util_collect(Rt_map *, int, int); 407void Dbg32_util_dbnotify(Lm_list *, rd_event_e, r_state_e); 408void Dbg64_util_dbnotify(Lm_list *, rd_event_e, r_state_e); 409void Dbg32_util_edge_in(Lm_list *, Rt_map *, uint_t, Rt_map *, int, int); 410void Dbg64_util_edge_in(Lm_list *, Rt_map *, uint_t, Rt_map *, int, int); 411void Dbg32_util_edge_out(Rt_map *, Rt_map *); 412void Dbg64_util_edge_out(Rt_map *, Rt_map *); 413void Dbg32_util_intoolate(Rt_map *); 414void Dbg64_util_intoolate(Rt_map *); 415void Dbg32_util_lcinterface(Rt_map *, int, char *); 416void Dbg64_util_lcinterface(Rt_map *, int, char *); 417void Dbg32_util_nl(Lm_list *, int); 418void Dbg64_util_nl(Lm_list *, int); 419void Dbg32_util_no_init(Rt_map *); 420void Dbg64_util_no_init(Rt_map *); 421void Dbg32_util_scc_entry(Rt_map *, uint_t); 422void Dbg64_util_scc_entry(Rt_map *, uint_t); 423void Dbg32_util_scc_title(Lm_list *, int); 424void Dbg64_util_scc_title(Lm_list *, int); 425void Dbg32_util_str(Lm_list *, const char *); 426void Dbg64_util_str(Lm_list *, const char *); 427void Dbg32_util_wait(Rt_map *, Rt_map *, int); 428void Dbg64_util_wait(Rt_map *, Rt_map *, int); 429 430void Dbg32_unused_file(Lm_list *, const char *, int, uint_t); 431void Dbg64_unused_file(Lm_list *, const char *, int, uint_t); 432void Dbg32_unused_lcinterface(Rt_map *, Rt_map *, int); 433void Dbg64_unused_lcinterface(Rt_map *, Rt_map *, int); 434void Dbg32_unused_path(Lm_list *, const char *, uint_t, uint_t, 435 const char *); 436void Dbg64_unused_path(Lm_list *, const char *, uint_t, uint_t, 437 const char *); 438void Dbg32_unused_sec(Lm_list *, Is_desc *); 439void Dbg64_unused_sec(Lm_list *, Is_desc *); 440void Dbg32_unused_unref(Rt_map *, const char *); 441void Dbg64_unused_unref(Rt_map *, const char *); 442 443void Dbg32_ver_need_entry(Lm_list *, Half, const char *, const char *); 444void Dbg64_ver_need_entry(Lm_list *, Half, const char *, const char *); 445void Dbg32_ver_need_title(Lm_list *, const char *); 446void Dbg64_ver_need_title(Lm_list *, const char *); 447 448const char *Elf_demangle_name(const char *); 449 450void Elf_syminfo_entry(Lm_list *, Word, Syminfo *, const char *, const char *); 451void Elf_syminfo_title(Lm_list *); 452void Elf_ver_def_title(Lm_list *); 453void Elf_ver_need_title(Lm_list *, int gnuver); 454void Elf_ver_line_1(Lm_list *, const char *, const char *, const char *, 455 const char *); 456void Elf_ver_line_2(Lm_list *, const char *, const char *); 457void Elf_ver_line_3(Lm_list *, const char *, const char *, const char *); 458void Elf_ver_line_4(Lm_list *, const char *); 459void Elf_ver_line_5(Lm_list *, const char *, const char *); 460 461void Elf64_cap_entry(Lm_list *, Elf64_Cap *, int ndx, Elf64_Half); 462void Elf32_cap_entry(Lm_list *, Elf32_Cap *, int ndx, Elf32_Half); 463void Elf64_cap_title(Lm_list *); 464void Elf32_cap_title(Lm_list *); 465 466void Elf64_dyn_entry(Lm_list *, Elf64_Dyn *, int, const char *, Elf64_Half); 467void Elf32_dyn_entry(Lm_list *, Elf32_Dyn *, int, const char *, Elf32_Half); 468void Elf64_dyn_null_entry(Lm_list *, Elf64_Dyn *, int, int); 469void Elf32_dyn_null_entry(Lm_list *, Elf32_Dyn *, int, int); 470void Elf64_dyn_title(Lm_list *); 471void Elf32_dyn_title(Lm_list *); 472 473void Elf64_ehdr(Lm_list *, Elf64_Ehdr *, Elf64_Shdr *); 474void Elf32_ehdr(Lm_list *, Elf32_Ehdr *, Elf32_Shdr *); 475 476void Elf64_got_entry(Lm_list *, Elf64_Sword, Elf64_Addr, Elf64_Xword, 477 Elf64_Half, uchar_t, uchar_t, Elf64_Word, void *, const char *); 478void Elf32_got_entry(Lm_list *, Elf32_Sword, Elf32_Addr, Elf32_Word, 479 Elf32_Half, uchar_t, uchar_t, Elf32_Word, void *, const char *); 480void Elf64_got_title(Lm_list *); 481void Elf32_got_title(Lm_list *); 482 483void Elf64_phdr(Lm_list *, Elf64_Half, Elf64_Phdr *); 484void Elf32_phdr(Lm_list *, Elf32_Half, Elf32_Phdr *); 485 486void Elf64_reloc_apply_reg(Lm_list *, int, Elf64_Half, Elf64_Xword, 487 Elf64_Xword); 488void Elf32_reloc_apply_reg(Lm_list *, int, Elf32_Half, Elf32_Word, 489 Elf32_Word); 490void Elf64_reloc_apply_val(Lm_list *, int, Elf64_Xword, Elf64_Xword); 491void Elf32_reloc_apply_val(Lm_list *, int, Elf32_Word, Elf32_Word); 492void Elf64_reloc_entry_1(Lm_list *, int, const char *, Elf64_Half, Word, void *, 493 const char *, const char *, const char *); 494void Elf32_reloc_entry_1(Lm_list *, int, const char *, Elf32_Half, Word, void *, 495 const char *, const char *, const char *); 496void Elf64_reloc_entry_2(Lm_list *, int, const char *, Word, const char *, 497 Elf64_Addr, Elf64_Sxword, const char *, const char *, const char *); 498void Elf32_reloc_entry_2(Lm_list *, int, const char *, Word, const char *, 499 Elf32_Addr, Elf32_Sword, const char *, const char *, const char *); 500void Elf64_reloc_title(Lm_list *, int, Word); 501void Elf32_reloc_title(Lm_list *, int, Word); 502 503void Elf64_shdr(Lm_list *, Elf64_Half, Elf64_Shdr *); 504void Elf32_shdr(Lm_list *, Elf32_Half, Elf32_Shdr *); 505 506void Elf64_syms_table_entry(Lm_list *, int, const char *, Elf64_Half, 507 Elf64_Sym *, Elf64_Versym, int, const char *, const char *); 508void Elf32_syms_table_entry(Lm_list *, int, const char *, Elf32_Half, 509 Elf32_Sym *, Elf32_Versym, int, const char *, const char *); 510void Elf64_syms_table_title(Lm_list *, int); 511void Elf32_syms_table_title(Lm_list *, int); 512