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

/users/u3/mtikir/PMaCInstrumentor_v1601/src/SymbolTable.C File Reference

#include <Instruction.h>
#include <DemangleWrapper.h>
#include <SymbolTable.h>
#include <StringTable.h>
#include <SectHeader.h>
#include <RawSection.h>
#include <Auxilary.h>
#include <XCoffFile.h>
#include <BinaryFile.h>

Go to the source code of this file.

Defines

#define NO_NAME_OFFSET   (uint32_t)(-1)
#define CASE_SYMBOL_TYPE(__str)   case C_ ## __str: return #__str
#define INVALID_SYMBOL_LENGTH   (uint64_t)-1

Functions

int compareSymbolValue (const void *arg1, const void *arg2)
int searchSymbolValue (const void *arg1, const void *arg2)
SymbolbinarySearch (Symbol **symbols, uint32_t symbolCount, uint64_t value)


Define Documentation

#define CASE_SYMBOL_TYPE __str   )     case C_ ## __str: return #__str
 

Definition at line 236 of file SymbolTable.C.

Referenced by Symbol::getTypeName().

#define INVALID_SYMBOL_LENGTH   (uint64_t)-1
 

Definition at line 456 of file SymbolTable.C.

Referenced by SymbolTable::getSymbolLength().

#define NO_NAME_OFFSET   (uint32_t)(-1)
 

Definition at line 100 of file SymbolTable.C.


Function Documentation

Symbol* binarySearch Symbol **  symbols,
uint32_t  symbolCount,
uint64_t  value
 

Definition at line 185 of file SymbolTable.C.

Referenced by Symbol::findSymbol(), and SymbolTable::instrument().

int compareSymbolValue const void *  arg1,
const void *  arg2
 

Definition at line 11 of file SymbolTable.C.

References ASSERT.

Referenced by SymbolTable::filterSortAddressSymbols(), SymbolTable::filterSortBSSSymbols(), and SymbolTable::filterSortFuncSymbols().

int searchSymbolValue const void *  arg1,
const void *  arg2
 

Definition at line 28 of file SymbolTable.C.


Generated on Mon Jan 28 11:08:35 2008 for PMaCInstrumentor by doxygen 1.3.5