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

RelocationTable Class Reference

#include <RelocationTable.h>

Inheritance diagram for RelocationTable:

Base List of all members.

Public Member Functions

 RelocationTable (char *ptr, uint32_t s, XCoffFile *xcoff)
void print ()
uint32_t read (BinaryInputFile *b)
void setSymbolTable (SymbolTable *st)
XCoffFilegetXCoffFile ()
const char * briefName ()
uint32_t instrument (char *buffer, XCoffFileGen *xCoffGen, BaseGen *gen)

Protected Attributes

char * relocationPtr
uint32_t numOfRelocations
Relocation ** relocations
SymbolTablesymbolTable
XCoffFilexCoffFile

Constructor & Destructor Documentation

RelocationTable::RelocationTable char *  ptr,
uint32_t  s,
XCoffFile xcoff
 

Definition at line 6 of file RelocationTable.C.

References getXCoffFile(), XCoffFile::is64Bit(), numOfRelocations, relocations, Size__32_bit_RelocationTable_Entry, Size__64_bit_RelocationTable_Entry, and XCoffClassTypes_relocation.


Member Function Documentation

const char* RelocationTable::briefName  )  [inline, virtual]
 

Reimplemented from Base.

Definition at line 66 of file RelocationTable.h.

XCoffFile* RelocationTable::getXCoffFile  )  [inline]
 

Definition at line 64 of file RelocationTable.h.

References xCoffFile.

Referenced by instrument(), read(), and RelocationTable().

uint32_t RelocationTable::instrument char *  buffer,
XCoffFileGen xCoffGen,
BaseGen gen
[virtual]
 

Reimplemented from Base.

Definition at line 143 of file ReWriting.C.

References ASSERT, getXCoffFile(), XCoffFile::is64Bit(), numOfRelocations, PRINT_DEBUG, relocations, Size__32_bit_RelocationTable_Entry, and Size__64_bit_RelocationTable_Entry.

void RelocationTable::print  )  [virtual]
 

Reimplemented from Base.

Definition at line 27 of file RelocationTable.C.

References numOfRelocations, Relocation::print(), PRINT_INFOR, relocations, and symbolTable.

Referenced by XCoffFile::print().

uint32_t RelocationTable::read BinaryInputFile b  )  [virtual]
 

Reimplemented from Base.

Definition at line 37 of file RelocationTable.C.

References ASSERT, BinaryInputFile::copyBytesIterate(), BinaryInputFile::currentOffset(), getXCoffFile(), XCoffFile::is64Bit(), numOfRelocations, PRINT_DEBUG, relocationPtr, relocations, Base::setFileOffset(), BinaryInputFile::setInPointer(), Size__32_bit_RelocationTable_Entry, and Size__64_bit_RelocationTable_Entry.

Referenced by SectHeader::readRelocTable().

void RelocationTable::setSymbolTable SymbolTable st  )  [inline]
 

Definition at line 62 of file RelocationTable.h.

References symbolTable.

Referenced by XCoffFile::readRelocLineInfoTable().


Member Data Documentation

uint32_t RelocationTable::numOfRelocations [protected]
 

Definition at line 47 of file RelocationTable.h.

Referenced by instrument(), print(), read(), and RelocationTable().

char* RelocationTable::relocationPtr [protected]
 

Definition at line 46 of file RelocationTable.h.

Referenced by read().

Relocation** RelocationTable::relocations [protected]
 

Definition at line 49 of file RelocationTable.h.

Referenced by instrument(), print(), read(), and RelocationTable().

SymbolTable* RelocationTable::symbolTable [protected]
 

Definition at line 51 of file RelocationTable.h.

Referenced by print(), and setSymbolTable().

XCoffFile* RelocationTable::xCoffFile [protected]
 

Definition at line 53 of file RelocationTable.h.

Referenced by getXCoffFile().


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