syms.c 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
*/
/*
* Copyright 2004 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
#include <stdio.h>
#include <dlfcn.h>
#include <strings.h>
#include "msg.h"
#include "_debug.h"
#include "libld.h"
/*
* Print out a single `symbol table node' entry.
*/
#if !defined(_ELF64)
void
{
if (DBG_NOTLONG())
else
} else {
if (DBG_NOTLONG())
else
}
}
void
{
const char *msg;
if (DBG_NOTLONG())
else
}
void
{
const char *msg;
if (DBG_NOTLONG())
else
} else {
if (DBG_NOTLONG())
else
}
}
void
{
}
void
const char *needed)
{
const char *bind_str;
int flgndx = 0;
if (symflags & SYMINFO_FLG_DIRECT) {
else {
sip->si_boundto);
}
sip->si_boundto);
if (symflags & SYMINFO_FLG_FILTER) {
}
if (symflags & SYMINFO_FLG_AUXILIARY) {
}
} else
if (symflags & SYMINFO_FLG_DIRECTBIND) {
}
if (symflags & SYMINFO_FLG_COPY) {
symflags &= ~SYMINFO_FLG_COPY;
}
if (symflags & SYMINFO_FLG_LAZYLOAD) {
}
if (symflags & SYMINFO_FLG_NOEXTDIRECT) {
}
/*
* Did we account for all of the flags?
*/
if (symflags)
else
}
const char *
Gelf_sym_dem(const char *name)
{
return (conv_sym_dem(name));
}
const char *
_Dbg_sym_dem(const char *name)
{
if (DBG_NOTCLASS(DBG_DEMANGLE))
return (name);
return (conv_sym_dem(name));
}
void
{
if (DBG_NOTCLASS(DBG_SYMBOLS))
return;
}
void
Dbg_syms_lazy_rescan(const char *name)
{
return;
}
#endif /* !defined(_ELF64) */
void
{
if (DBG_NOTCLASS(DBG_SYMBOLS))
return;
}
void
{
if (DBG_NOTCLASS(DBG_SYMBOLS))
return;
}
void
{
const char *fmt;
if (DBG_NOTCLASS(DBG_SYMBOLS))
return;
if (flag)
else
}
void
{
if (DBG_NOTCLASS(DBG_SYMBOLS))
return;
}
void
{
const char *sectname;
if (DBG_NOTCLASS(DBG_SYMBOLS))
return;
if (DBG_NOTDETAIL())
return;
}
void
{
if (DBG_NOTCLASS(DBG_SYMBOLS))
return;
if (DBG_NOTDETAIL())
return;
}
void
{
if (DBG_NOTCLASS(DBG_SYMBOLS))
return;
}
void
{
if (DBG_NOTCLASS(DBG_SYMBOLS))
return;
}
void
{
if (DBG_NOTCLASS(DBG_SYMBOLS))
return;
}
void
{
if (DBG_NOTCLASS(DBG_SYMBOLS))
return;
if (DBG_NOTDETAIL())
return;
}
void
{
if (DBG_NOTCLASS(DBG_SYMBOLS))
return;
if (DBG_NOTDETAIL())
return;
}
void
{
if (DBG_NOTCLASS(DBG_SYMBOLS))
return;
if (DBG_NOTDETAIL())
return;
/* LINTED */
}
void
{
if (DBG_NOTCLASS(DBG_SYMBOLS))
return;
if (DBG_NOTDETAIL())
return;
}
void
{
if (DBG_NOTCLASS(DBG_SYMBOLS))
return;
if (DBG_NOTDETAIL())
return;
}
void
{
if (DBG_NOTCLASS(DBG_SYMBOLS))
return;
if (DBG_NOTDETAIL())
return;
}
void
{
if (DBG_NOTCLASS(DBG_SYMBOLS))
return;
if (DBG_NOTDETAIL())
return;
}
void
Dbg_syms_created(const char *name)
{
if (DBG_NOTCLASS(DBG_SYMBOLS))
return;
}
void
{
if (DBG_NOTCLASS(DBG_SYMBOLS))
return;
}
void
{
if (DBG_NOTCLASS(DBG_SYMBOLS))
return;
if (DBG_NOTDETAIL())
return;
}
void
{
if (DBG_NOTCLASS(DBG_SYMBOLS))
return;
if (DBG_NOTDETAIL())
return;
}
void
{
if (DBG_NOTCLASS(DBG_SYMBOLS))
return;
}
static void
{
}
void
{
if (DBG_NOTCLASS(DBG_SYMBOLS))
return;
if (symbol_title)
if (DBG_NOTDETAIL())
return;
}
void
Dbg_syms_lookup_aout(const char *name)
{
if (DBG_NOTCLASS(DBG_SYMBOLS))
return;
}
void
{
if (DBG_NOTCLASS(DBG_SYMBOLS))
return;
}
void
{
const char *str;
if (DBG_NOTCLASS(DBG_SYMBOLS))
return;
if (flag == DBG_DLSYM_NEXT)
else if (flag == DBG_DLSYM_DEFAULT)
else if (flag == DBG_DLSYM_SELF)
else if (flag == DBG_DLSYM_PROBE)
else
if (next == 0)
else
}
void
{
return;
if (sym_reduce_title && isfromglobal) {
} else if (sym_retain_title && isfromretain) {
}
else if (isfromglobal)
else
if (DBG_NOTDETAIL())
return;
}
void
{
if (DBG_NOTCLASS(DBG_SYMBOLS))
return;
if (DBG_NOTDETAIL())
return;
}
void
{
const char *needed;
if (DBG_NOTCLASS(DBG_SYMBOLS))
return;
if (DBG_NOTDETAIL())
return;
else
needed = 0;
}