Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

Symbol Class Reference

#include <SymbolTable.h>

Inheritance diagram for Symbol:

SymbolBase Symbol32 Symbol64 List of all members.

Public Member Functions

 Symbol (uint32_t idx)
 ~Symbol ()
bool isAuxilary ()
 SYMBOL_MACROS_BASIS ("For the get_X field macros check the defines directory")
bool unknownSymbol ()
bool stringInDebugSection ()
const char * getTypeName ()
char * getName (StringTable *stringTable, DebugSection *debugRawSect)
void print (StringTable *stringTable, DebugSection *debugRawSect, bool followAux)
virtual uint32_t getNameOffset ()
virtual char * getNameStringTable (StringTable *stringTable)
virtual char * getNameDebugSection (DebugSection *rawDebugSect)
virtual void changeValueCopy (uint64_t value, char *buff)

Static Public Member Functions

bool isSorted (Symbol **symbols, uint32_t symbolCount)
bool builtinSaveRestore (char *ptr)
SymbolfindSymbol (Symbol **symbols, uint32_t symbolCount, uint64_t value)

Constructor & Destructor Documentation

Symbol::Symbol uint32_t  idx  )  [inline]
 

Definition at line 42 of file SymbolTable.h.

Symbol::~Symbol  )  [inline]
 

Definition at line 43 of file SymbolTable.h.


Member Function Documentation

bool Symbol::builtinSaveRestore char *  ptr  )  [static]
 

Definition at line 585 of file SymbolTable.C.

Referenced by SymbolTable::filterSortFuncSymbols().

virtual void Symbol::changeValueCopy uint64_t  value,
char *  buff
[inline, virtual]
 

Reimplemented in Symbol32, and Symbol64.

Definition at line 63 of file SymbolTable.h.

References __SHOULD_NOT_ARRIVE.

Referenced by SymbolTable::instrument().

Symbol * Symbol::findSymbol Symbol **  symbols,
uint32_t  symbolCount,
uint64_t  value
[static]
 

Definition at line 230 of file SymbolTable.C.

References binarySearch().

Referenced by DataSection::getContentVisually().

char * Symbol::getName StringTable stringTable,
DebugSection debugRawSect
[virtual]
 

Reimplemented from SymbolBase.

Definition at line 68 of file SymbolTable.C.

References ASSERT, getNameDebugSection(), getNameStringTable(), and stringInDebugSection().

Referenced by print().

virtual char* Symbol::getNameDebugSection DebugSection rawDebugSect  )  [inline, virtual]
 

Reimplemented in Symbol32, and Symbol64.

Definition at line 57 of file SymbolTable.h.

References __SHOULD_NOT_ARRIVE.

Referenced by getName().

virtual uint32_t Symbol::getNameOffset  )  [inline, virtual]
 

Reimplemented in Symbol32, and Symbol64.

Definition at line 55 of file SymbolTable.h.

References __SHOULD_NOT_ARRIVE.

virtual char* Symbol::getNameStringTable StringTable stringTable  )  [inline, virtual]
 

Reimplemented in Symbol32, and Symbol64.

Definition at line 56 of file SymbolTable.h.

References __SHOULD_NOT_ARRIVE.

Referenced by getName().

const char * Symbol::getTypeName  )  [virtual]
 

Reimplemented from SymbolBase.

Definition at line 237 of file SymbolTable.C.

References CASE_SYMBOL_TYPE, GET, and PRINT_INFOR.

Referenced by print().

bool Symbol::isAuxilary  )  [inline, virtual]
 

Reimplemented from SymbolBase.

Definition at line 44 of file SymbolTable.h.

Referenced by stringInDebugSection(), and unknownSymbol().

bool Symbol::isSorted Symbol **  symbols,
uint32_t  symbolCount
[inline, static]
 

Definition at line 59 of file SymbolTable.h.

void Symbol::print StringTable stringTable,
DebugSection debugRawSect,
bool  followAux
[virtual]
 

Reimplemented from SymbolBase.

Definition at line 81 of file SymbolTable.C.

References DemangleWrapper::demangle_combined(), GET, SymbolBase::getIndex(), getName(), SymbolBase::getNext(), getTypeName(), n_type, SymbolBase::print(), and PRINT_INFOR.

bool Symbol::stringInDebugSection  ) 
 

Definition at line 54 of file SymbolTable.C.

References IS_SYMB_TYPE, and isAuxilary().

Referenced by getName().

Symbol::SYMBOL_MACROS_BASIS "For the get_X field macros check the defines directory"   ) 
 

bool Symbol::unknownSymbol  ) 
 

Definition at line 40 of file SymbolTable.C.

References IS_SYMB_TYPE, and isAuxilary().


The documentation for this class was generated from the following files:
Generated on Mon Jan 28 11:08:42 2008 for PMaCInstrumentor by doxygen 1.3.5