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

IdenticalInstrumentor Class Reference

#include <IdenticalInstrumentor.h>

Inheritance diagram for IdenticalInstrumentor:

XCoffFileGen List of all members.

Public Member Functions

 IdenticalInstrumentor (XCoffFile *xcoff, char *extension)
virtual ~IdenticalInstrumentor ()
void selectInstrumentationPoints (char *inpFile)
void printInstrumentationPoints ()
void reserveDataForInstrumentation ()
int32_t getDataOffsetForInst (uint32_t idx)
uint32_t getNumOfSharedLibFuncs ()
uint32_t byteCountForSharedLibFuncWrappers ()
void setAddrOfSharedLibFuncWrapper (uint32_t i, uint64_t addr)
uint32_t generateSharedLibFuncWrapper (uint32_t libFuncIdx, uint64_t funcCallAddr, uint32_t genBufferOffset, BaseGen *gen)
char * getSharedLibFuncName (uint32_t i)
uint64_t getSharedLibFuncAddrLocation (uint32_t i)
void getSharedLibraryPathAndObj (char **path, char **name, char **obj)
void verify (uint32_t written)
uint32_t maxByteCountPerInst ()
uint32_t byteCountForInst (uint32_t instPointIdx, uint64_t instStubAddress, TextSection *textSect)
uint32_t generateCodeForInst (uint32_t instPointIdx, uint64_t instStubAddress, TextSection *textSect, BaseGen *gen, uint32_t genBufferOffset)
void initializeReservedData (DataSection *dataSect, BaseGen *gen)
char * getGenClassName ()

Constructor & Destructor Documentation

IdenticalInstrumentor::IdenticalInstrumentor XCoffFile xcoff,
char *  extension
 

Definition at line 8 of file IdenticalInstrumentor.C.

References reserveDataForInstrumentation(), and selectInstrumentationPoints().

virtual IdenticalInstrumentor::~IdenticalInstrumentor  )  [inline, virtual]
 

Definition at line 9 of file IdenticalInstrumentor.h.


Member Function Documentation

uint32_t IdenticalInstrumentor::byteCountForInst uint32_t  instPointIdx,
uint64_t  instStubAddress,
TextSection textSect
[inline, virtual]
 

Reimplemented from XCoffFileGen.

Definition at line 29 of file IdenticalInstrumentor.h.

uint32_t IdenticalInstrumentor::byteCountForSharedLibFuncWrappers  )  [inline, virtual]
 

Reimplemented from XCoffFileGen.

Definition at line 17 of file IdenticalInstrumentor.h.

uint32_t IdenticalInstrumentor::generateCodeForInst uint32_t  instPointIdx,
uint64_t  instStubAddress,
TextSection textSect,
BaseGen gen,
uint32_t  genBufferOffset
[inline, virtual]
 

Reimplemented from XCoffFileGen.

Definition at line 30 of file IdenticalInstrumentor.h.

uint32_t IdenticalInstrumentor::generateSharedLibFuncWrapper uint32_t  libFuncIdx,
uint64_t  funcCallAddr,
uint32_t  genBufferOffset,
BaseGen gen
[inline, virtual]
 

Reimplemented from XCoffFileGen.

Definition at line 19 of file IdenticalInstrumentor.h.

int32_t IdenticalInstrumentor::getDataOffsetForInst uint32_t  idx  )  [inline, virtual]
 

Reimplemented from XCoffFileGen.

Definition at line 14 of file IdenticalInstrumentor.h.

char* IdenticalInstrumentor::getGenClassName  )  [inline, virtual]
 

Reimplemented from XCoffFileGen.

Definition at line 35 of file IdenticalInstrumentor.h.

uint32_t IdenticalInstrumentor::getNumOfSharedLibFuncs  )  [inline, virtual]
 

Reimplemented from XCoffFileGen.

Definition at line 16 of file IdenticalInstrumentor.h.

uint64_t IdenticalInstrumentor::getSharedLibFuncAddrLocation uint32_t  i  )  [inline, virtual]
 

Reimplemented from XCoffFileGen.

Definition at line 23 of file IdenticalInstrumentor.h.

char* IdenticalInstrumentor::getSharedLibFuncName uint32_t  i  )  [inline, virtual]
 

Reimplemented from XCoffFileGen.

Definition at line 22 of file IdenticalInstrumentor.h.

void IdenticalInstrumentor::getSharedLibraryPathAndObj char **  path,
char **  name,
char **  obj
[inline, virtual]
 

Reimplemented from XCoffFileGen.

Definition at line 24 of file IdenticalInstrumentor.h.

void IdenticalInstrumentor::initializeReservedData DataSection dataSect,
BaseGen gen
[inline, virtual]
 

Reimplemented from XCoffFileGen.

Definition at line 33 of file IdenticalInstrumentor.h.

uint32_t IdenticalInstrumentor::maxByteCountPerInst  )  [inline, virtual]
 

Reimplemented from XCoffFileGen.

Definition at line 28 of file IdenticalInstrumentor.h.

void IdenticalInstrumentor::printInstrumentationPoints  )  [inline, virtual]
 

Reimplemented from XCoffFileGen.

Definition at line 12 of file IdenticalInstrumentor.h.

void IdenticalInstrumentor::reserveDataForInstrumentation  )  [inline, virtual]
 

Reimplemented from XCoffFileGen.

Definition at line 13 of file IdenticalInstrumentor.h.

Referenced by IdenticalInstrumentor().

void IdenticalInstrumentor::selectInstrumentationPoints char *  inpFile  )  [inline, virtual]
 

Reimplemented from XCoffFileGen.

Definition at line 11 of file IdenticalInstrumentor.h.

Referenced by IdenticalInstrumentor().

void IdenticalInstrumentor::setAddrOfSharedLibFuncWrapper uint32_t  i,
uint64_t  addr
[inline, virtual]
 

Reimplemented from XCoffFileGen.

Definition at line 18 of file IdenticalInstrumentor.h.

void IdenticalInstrumentor::verify uint32_t  written  )  [virtual]
 

Reimplemented from XCoffFileGen.

Definition at line 15 of file IdenticalInstrumentor.C.

References ASSERT, XCoffFile::getFileSize(), XCoffFileGen::getInstrumentedFileSize(), XCoffFile::getXCoffFileName(), PRINT_INFOR, and BaseGen::verifyIdentical().


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