llib-llddbg revision 7c478bd95313f5f23a4c958a745db2134aa03244
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (the "License"). You may not use this file except in compliance
* with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/* LINTLIBRARY */
/* PROTOLIB1 */
/*
* Copyright 2005 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#include "debug.h"
void Dbg_args_files(int, char *);
void Dbg_args_flags(int, int);
void Dbg_audit_interface(const char *, const char *);
void Dbg_audit_interface64(const char *, const char *);
void Dbg_audit_lib(const char *);
void Dbg_audit_lib64(const char *);
void Dbg_audit_object(const char *, const char *);
void Dbg_audit_object64(const char *, const char *);
void Dbg_audit_version(const char *, ulong_t);
void Dbg_audit_version64(const char *, ulong_t);
void Dbg_cap_hw_candidate(const char *);
void Dbg_cap_hw_filter(const char *, const char *);
void Dbg_cap_sec_title(const char *);
void Dbg_file_analyze(Rt_map *);
void Dbg_file_analyze64(Rt_map *);
void Dbg_file_archive(const char *, int);
void Dbg_file_archive64(const char *, int);
void Dbg_file_bind_entry(Bnd_desc *);
void Dbg_file_bind_entry64(Bnd_desc *);
void Dbg_file_bind_title(int);
void Dbg_file_bind_title64(int);
void Dbg_file_config_dis(const char *, int);
void Dbg_file_config_dis64(const char *, int);
void Dbg_file_config_obj(const char *, const char *, const char *);
void Dbg_file_config_obj64(const char *, const char *, const char *);
void Dbg_file_delete(const char *);
void Dbg_file_delete64(const char *);
void Dbg_file_dlclose(const char *, int);
void Dbg_file_dlclose64(const char *, int);
void Dbg_file_dldump(const char *, const char *, int);
void Dbg_file_dldump64(const char *, const char *, int);
void Dbg_file_dlopen(const char *, const char *, int);
void Dbg_file_dlopen64(const char *, const char *, int);
Aliste);
Aliste);
void Dbg_file_filtee(const char *, const char *, int);
void Dbg_file_filtee64(const char *, const char *, int);
void Dbg_file_filter(const char *, const char *, int);
void Dbg_file_filter64(const char *, const char *, int);
void Dbg_file_fixname(const char *, const char *);
void Dbg_file_fixname64(const char *, const char *);
void Dbg_file_generic(Ifl_desc *);
void Dbg_file_generic64(Ifl_desc *);
void Dbg_file_handle_collect(Grp_hdl *, const char *);
void Dbg_file_handle_collect64(Grp_hdl *, const char *);
void Dbg_file_lazyload(const char *, const char *, const char *);
void Dbg_file_lazyload64(const char *, const char *, const char *);
void Dbg_file_mode_promote(const char *, int);
void Dbg_file_needed(const char *, const char *);
void Dbg_file_needed64(const char *, const char *);
void Dbg_file_nl(void);
void Dbg_file_nl64(void);
void Dbg_file_output(Ofl_desc *);
void Dbg_file_output64(Ofl_desc *);
void Dbg_file_preload(const char *);
void Dbg_file_preload64(const char *);
void Dbg_file_prot(const char *, int);
void Dbg_file_prot64(const char *, int);
void Dbg_file_rejected(Rej_desc *);
void Dbg_file_reuse(const char *, const char *);
void Dbg_file_reuse64(const char *, const char *);
void Dbg_file_ar_rescan(void);
void Dbg_file_del_rescan(void);
void Dbg_file_skip(const char *, const char *);
void Dbg_file_skip64(const char *, const char *);
void Dbg_libs_audit(const char *, const char *);
void Dbg_libs_ignore(const char *);
void Dbg_libs_l(const char *, const char *);
void Dbg_libs_path(const char *, Half, const char *);
void Dbg_libs_req(const char *, const char *, const char *);
void Dbg_libs_yp(const char *);
void Dbg_libs_ylu(const char *, const char *, int);
void Dbg_libs_find(const char *);
void Dbg_libs_found(const char *, int);
void Dbg_map_atsign(Boolean);
void Dbg_map_atsign64(Boolean);
void Dbg_map_dash(const char *, Sdf_desc *);
void Dbg_map_dash64(const char *, Sdf_desc *);
void Dbg_map_equal(Boolean);
void Dbg_map_equal64(Boolean);
void Dbg_map_parse(const char *);
void Dbg_map_parse64(const char *);
void Dbg_map_size_new(const char *);
void Dbg_map_size_new64(const char *);
void Dbg_map_sort_fini(Sg_desc *);
void Dbg_map_sort_fini64(Sg_desc *);
void Dbg_map_sort_orig(Sg_desc *);
void Dbg_map_sort_orig64(Sg_desc *);
void Dbg_map_version(const char *, const char *, int);
void Dbg_map_version64(const char *, const char *, int);
void Dbg_move_adjexpandreloc(ulong_t, const char *);
void Dbg_move_data(const char *);
void Dbg_move_input1(const char *);
void Dbg_move_outmove(const uchar_t *);
void Dbg_move_outsctadj(Sym_desc *);
void Dbg_move_outsctadj64(Sym_desc *);
void Dbg_move_parexpn(const char *, const char *);
void Dbg_pltpad_bindto64(const char *, const char *, Addr);
void Dbg_pltpad_boundto64(const char *, Addr, const char *, const char *);
void Dbg_reloc_copy(const char *, const char *, const char *, int);
void Dbg_reloc_doactiverel(void);
void Dbg_reloc_dooutrel(GElf_Word);
void Dbg_reloc_dooutrel64(GElf_Word);
void Dbg_reloc_run(const char *, uint_t, int, int);
void Dbg_sec_in(Is_desc *);
void Dbg_sec_in64(Is_desc *);
void Dbg_sec_order_list(Ofl_desc *, int);
void Dbg_sec_order_list64(Ofl_desc *, int);
void Dbg_seg_title(void);
void Dbg_seg_title64(void);
void Dbg_statistics_ld(Ofl_desc *);
void Dbg_statistics_ld64(Ofl_desc *);
void Dbg_statistics_ar(Ofl_desc *);
void Dbg_statistics_ar64(Ofl_desc *);
void Dbg_syms_ar_title(const char *, int);
void Dbg_syms_ar_title64(const char *, int);
void Dbg_syms_created(const char *);
void Dbg_syms_created64(const char *);
void Dbg_syms_global(Xword, const char *);
void Dbg_syms_global64(Xword, const char *);
void Dbg_syms_nl(void);
void Dbg_syms_nl64(void);
void Dbg_syms_process(Ifl_desc *);
void Dbg_syms_process64(Ifl_desc *);
void Dbg_syms_resolving1(Xword, const char *, int, int);
void Dbg_syms_resolving164(Xword, const char *, int, int);
void Dbg_syms_sec_title(void);
void Dbg_syms_sec_title64(void);
void Dbg_syms_spec_title(void);
void Dbg_syms_spec_title64(void);
void Dbg_syms_up_title(Ehdr *);
void Dbg_syms_up_title64(Ehdr *);
void Dbg_syms_dlsym(const char *, const char *, const char *, int);
void Dbg_syms_dlsym64(const char *, const char *, const char *, int);
void Dbg_syms_lookup_aout(const char *);
void Dbg_syms_lookup_aout64(const char *);
void Dbg_syms_lookup(const char *, const char *, const char *);
void Dbg_syms_lookup64(const char *, const char *, const char *);
void Dbg_syminfo_title(void);
void Dbg_syminfo_title64(void);
void Dbg_support_action(const char *, const char *, Support_ndx, const char *);
void Dbg_support_load(const char *, const char *);
void Dbg_support_req(const char *, int);
void Dbg_unused_file(const char *, int);
void Dbg_unused_rtldinfo(const char *, const char *);
void Dbg_unused_sec(Is_desc *);
void Dbg_unused_sec64(Is_desc *);
void Dbg_unused_unref(const char *, const char *);
void Dbg_util_call_fini(const char *);
void Dbg_util_call_init(const char *, int);
void Dbg_util_call_main(const char *);
void Dbg_util_intoolate(const char *);
void Dbg_util_nl(void);
void Dbg_util_no_init(const char *);
void Dbg_util_str(const char *);
void Dbg_ver_avail_entry(Ver_index *, const char *);
void Dbg_ver_avail_entry64(Ver_index *, const char *);
void Dbg_ver_avail_title(const char *);
void Dbg_ver_def_title(const char *);
void Dbg_ver_desc_entry(Ver_desc *);
void Dbg_ver_desc_entry64(Ver_desc *);
void Dbg_ver_need_title(const char *);
void Dbg_ver_need_entry(Half, const char *, const char *);
void Dbg_ver_symbol(const char *);
/*
* Gelf related functions, used by elfdump
*/
const char * Gelf_sym_dem(const char *);
void Gelf_cap_title(void);
void Gelf_dyn_title(void);
void Gelf_elf_data_title(void);
void Gelf_got_title(uchar_t);
GElf_Word, void *, const char *);
GElf_Rela *, const char *, const char *);
GElf_Word, const char *, const char *);
void Gelf_sym_table_title(GElf_Ehdr *, const char *, const char *);
void Gelf_syminfo_entry(int, GElf_Syminfo *, const char *, const char *);
void Gelf_syminfo_title(void);
void Gelf_ver_def_title(void);
void Gelf_ver_need_title(void);
void Gelf_ver_line_1(const char *, const char *, const char *, const char *);
void Gelf_ver_line_2(const char *, const char *);
void Gelf_ver_line_3(const char *, const char *, const char *);