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

LineInfoTable Class Reference

#include <LineInfoTable.h>

Inheritance diagram for LineInfoTable:

Base List of all members.

Public Member Functions

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

Protected Attributes

char * lineInfoPointer
uint32_t numOfLineInfos
LineInfo ** lineInfos
SymbolTablesymbolTable
XCoffFilexCoffFile

Constructor & Destructor Documentation

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

Definition at line 6 of file LineInfoTable.C.

References getXCoffFile(), XCoffFile::is64Bit(), lineInfos, numOfLineInfos, Size__32_bit_LineInfoTable_Entry, Size__64_bit_LineInfoTable_Entry, and XCoffClassTypes_line_info.


Member Function Documentation

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

Reimplemented from Base.

Definition at line 72 of file LineInfoTable.h.

LineInfo* LineInfoTable::getLineInfo uint32_t  idx  )  [inline]
 

Definition at line 70 of file LineInfoTable.h.

References ASSERT, lineInfos, and numOfLineInfos.

Referenced by LineInfoFinder::commandLineTest(), IncludeFileFinder::containsAddress(), FunctionFinder::containsLineNumber(), FunctionFinder::getAddressByLineNumber(), LineInfoFinder::LineInfoFinder(), FunctionFinder::setParent(), and LineInfoFinder::testLineInfoFinder().

char* LineInfoTable::getLineInfoPointer  )  [inline]
 

Definition at line 69 of file LineInfoTable.h.

References lineInfoPointer.

uint32_t LineInfoTable::getNumberOfLineInfos  )  [inline]
 

Definition at line 68 of file LineInfoTable.h.

References numOfLineInfos.

Referenced by LineInfoFinder::commandLineTest(), FunctionFinder::FunctionFinder(), and LineInfoFinder::LineInfoFinder().

XCoffFile* LineInfoTable::getXCoffFile  )  [inline]
 

Definition at line 66 of file LineInfoTable.h.

References xCoffFile.

Referenced by instrument(), LineInfoFinder::LineInfoFinder(), LineInfoTable(), and read().

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

Reimplemented from Base.

Definition at line 119 of file ReWriting.C.

References ASSERT, getXCoffFile(), XCoffFile::is64Bit(), lineInfos, numOfLineInfos, PRINT_DEBUG, Size__32_bit_LineInfoTable_Entry, and Size__64_bit_LineInfoTable_Entry.

void LineInfoTable::print  )  [virtual]
 

Reimplemented from Base.

Definition at line 30 of file LineInfoTable.C.

References lineInfos, numOfLineInfos, LineInfo::print(), PRINT_INFOR, and symbolTable.

Referenced by XCoffFile::print().

uint32_t LineInfoTable::read BinaryInputFile b  )  [virtual]
 

Reimplemented from Base.

Definition at line 40 of file LineInfoTable.C.

References ASSERT, BinaryInputFile::copyBytesIterate(), BinaryInputFile::currentOffset(), getXCoffFile(), XCoffFile::is64Bit(), lineInfoPointer, lineInfos, numOfLineInfos, PRINT_DEBUG, Base::setFileOffset(), BinaryInputFile::setInPointer(), Size__32_bit_LineInfoTable_Entry, and Size__64_bit_LineInfoTable_Entry.

Referenced by SectHeader::readLineInfoTable().

void LineInfoTable::setSymbolTable SymbolTable st  )  [inline]
 

Definition at line 64 of file LineInfoTable.h.

References symbolTable.

Referenced by XCoffFile::readRelocLineInfoTable().


Member Data Documentation

char* LineInfoTable::lineInfoPointer [protected]
 

Definition at line 48 of file LineInfoTable.h.

Referenced by getLineInfoPointer(), and read().

LineInfo** LineInfoTable::lineInfos [protected]
 

Definition at line 51 of file LineInfoTable.h.

Referenced by getLineInfo(), instrument(), LineInfoTable(), print(), and read().

uint32_t LineInfoTable::numOfLineInfos [protected]
 

Definition at line 49 of file LineInfoTable.h.

Referenced by getLineInfo(), getNumberOfLineInfos(), instrument(), LineInfoTable(), print(), and read().

SymbolTable* LineInfoTable::symbolTable [protected]
 

Definition at line 53 of file LineInfoTable.h.

Referenced by print(), and setSymbolTable().

XCoffFile* LineInfoTable::xCoffFile [protected]
 

Definition at line 55 of file LineInfoTable.h.

Referenced by getXCoffFile().


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