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

ExceptionSection Class Reference

#include <RawSection.h>

Inheritance diagram for ExceptionSection:

RawSection Base List of all members.

Public Member Functions

 ExceptionSection (SectHeader *h, XCoffFile *xcoff)
uint32_t read (BinaryInputFile *b)
void print ()
const char * briefName ()
uint32_t instrument (char *buffer, XCoffFileGen *xCoffGen, BaseGen *gen)

Protected Member Functions

 ~ExceptionSection ()

Protected Attributes

Exception ** exceptions
uint32_t numberOfExceptions

Constructor & Destructor Documentation

ExceptionSection::~ExceptionSection  )  [inline, protected]
 

Definition at line 150 of file RawSection.h.

ExceptionSection::ExceptionSection SectHeader h,
XCoffFile xcoff
 

Definition at line 175 of file RawSection.C.

References RawSection::getXCoffFile(), XCoffFile::is64Bit(), numberOfExceptions, Size__32_bit_ExceptionTable_Entry, and Size__64_bit_ExceptionTable_Entry.


Member Function Documentation

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

Reimplemented from RawSection.

Definition at line 158 of file RawSection.h.

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

Reimplemented from RawSection.

Definition at line 363 of file ReWriting.C.

References ASSERT, exceptions, RawSection::getXCoffFile(), XCoffFile::is64Bit(), numberOfExceptions, PRINT_DEBUG, Size__32_bit_ExceptionTable_Entry, and Size__64_bit_ExceptionTable_Entry.

void ExceptionSection::print  )  [virtual]
 

Reimplemented from RawSection.

Definition at line 231 of file RawSection.C.

References exceptions, numberOfExceptions, Exception::print(), RawSection::print(), and PRINT_INFOR.

uint32_t ExceptionSection::read BinaryInputFile b  )  [virtual]
 

Reimplemented from RawSection.

Definition at line 185 of file RawSection.C.

References ASSERT, BinaryInputFile::copyBytesIterate(), BinaryInputFile::currentOffset(), exceptions, RawSection::getXCoffFile(), XCoffFile::is64Bit(), numberOfExceptions, PRINT_DEBUG, Base::setFileOffset(), BinaryInputFile::setInPointer(), Size__32_bit_ExceptionTable_Entry, and Size__64_bit_ExceptionTable_Entry.


Member Data Documentation

Exception** ExceptionSection::exceptions [protected]
 

Definition at line 147 of file RawSection.h.

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

uint32_t ExceptionSection::numberOfExceptions [protected]
 

Definition at line 148 of file RawSection.h.

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


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