#include <Generate.h>
Inheritance diagram for XCoffFileGen:
|
|
Definition at line 135 of file Generate.h. |
|
Reimplemented in BasicBlockCounter, BasicBlockTracer, CacheSimulator, CountAllBlocks, DataExtender, and IdenticalInstrumentor. Definition at line 180 of file Generate.h. References __SHOULD_NOT_ARRIVE. Referenced by TextSection::getInstrumentationSize(). |
|
Reimplemented in CommonMethods, CountAllBlocks, DataExtender, and IdenticalInstrumentor. Definition at line 167 of file Generate.h. References __SHOULD_NOT_ARRIVE. Referenced by generateStubForAllLibraryCalls(), TextSection::getInstrumentationSize(), and TextSection::instrument(). |
|
Definition at line 378 of file Generate.C. References __MAX_STRING_SIZE, BinaryOutputFile::alreadyWritten(), aOutHeaderGen, ASSERT, binaryOutputFile, BinaryOutputFile::close(), BaseGen::dump(), fileHeaderGen, getInstrumentedFileSize(), lineInfoTablesGen, numberOfSections, BinaryOutputFile::open(), outputFileName, PRINT_ERROR, relocationTablesGen, sectHeadersGen, stringTableGen, and symbolTableGen. Referenced by main(). |
|
Reimplemented in BasicBlockCounter, BasicBlockTracer, CacheSimulator, CountAllBlocks, DataExtender, and IdenticalInstrumentor. Definition at line 183 of file Generate.h. References __SHOULD_NOT_ARRIVE. Referenced by TextSection::instrument(). |
|
Reimplemented in BasicBlockTracer, CommonMethods, CountAllBlocks, DataExtender, and IdenticalInstrumentor. Definition at line 168 of file Generate.h. References __SHOULD_NOT_ARRIVE. Referenced by generateStubForAllLibraryCalls(). |
|
Definition at line 420 of file Generate.C. References byteCountForSharedLibFuncWrappers(), generateSharedLibFuncWrapper(), getNumOfSharedLibFuncs(), getSharedLibFuncAddrLocation(), getSharedLibFuncName(), XCoffFile::getTextSectionVAddr(), PRINT_INFOR, setAddrOfSharedLibFuncWrapper(), and xcoffFile. Referenced by TextSection::instrument(). |
|
Definition at line 97 of file Generate.C. References aOutHeaderGen, fileHeaderGen, getNumberOfAllObjects(), BaseGen::hasInvalidFileOffset(), lineInfoTablesGen, numberOfSections, rawSectionsGen, relocationTablesGen, sectHeadersGen, stringTableGen, and symbolTableGen. Referenced by SymbolTable::instrument(). |
|
Definition at line 160 of file Generate.h. References dataBufferEntryCount. Referenced by CacheSimulator::byteCountForInst(), CacheSimulator::generateCodeForInst(), CountAllBlocks::generateSharedLibFuncWrapper(), and CommonMethods::generateSharedLibFuncWrapper(). |
|
Reimplemented in CommonMethods, CountAllBlocks, DataExtender, and IdenticalInstrumentor. Definition at line 161 of file Generate.h. References __SHOULD_NOT_ARRIVE. |
|
Definition at line 159 of file Generate.h. References extendedDataSize. Referenced by DataSection::getInstrumentationSize(). |
|
Definition at line 137 of file Generate.h. References fileExtension. Referenced by CountAllBlocks::printInstrumentationPoints(), CommonMethods::printInstrumentationPoints(), CountAllBlocks::reserveDataForInstrumentation(), and CommonMethods::reserveDataForInstrumentation(). |
|
Reimplemented in BasicBlockCounter, BasicBlockTracer, CacheSimulator, CountAllBlocks, DataExtender, and IdenticalInstrumentor. Definition at line 191 of file Generate.h. References __SHOULD_NOT_ARRIVE. Referenced by CommonMethods::printInstrumentationPoints(). |
|
Definition at line 138 of file Generate.h. References instrumentedFileSize. Referenced by dump(), main(), and IdenticalInstrumentor::verify(). |
|
Definition at line 167 of file Generate.C. References BaseGen::getFileOffset(), BaseGen::hasInvalidFileOffset(), lineInfoTablesGen, and numberOfSections. Referenced by SectHeader64::instrument(), and SectHeader32::instrument(). |
|
Definition at line 177 of file Generate.C. References ASSERT, XCoffFile::getBSSSectionVAddr(), XCoffFile::getDataSectionIndex(), XCoffFile::getDataSectionVAddr(), getRawSectionSizeForInst(), nextAlignAddressWord(), PRINT_DEBUG, and xcoffFile. Referenced by SymbolTable::instrument(), SectHeader64::instrument(), and SectHeader32::instrument(). |
|
Definition at line 74 of file Generate.C. References XCoffFile::getNumberOfBlocks(), and xcoffFile. Referenced by main(). |
|
Definition at line 80 of file Generate.C. References XCoffFile::getNumberOfFloatPOps(), and xcoffFile. Referenced by main(). |
|
Definition at line 71 of file Generate.C. References XCoffFile::getNumberOfFunctions(), and xcoffFile. Referenced by main(). |
|
Definition at line 77 of file Generate.C. References XCoffFile::getNumberOfMemoryOps(), and xcoffFile. Referenced by main(). |
|
Definition at line 83 of file Generate.C. References aOutHeaderGen, fileHeaderGen, BaseGen::hasInvalidFileOffset(), lineInfoTablesGen, numberOfSections, rawSectionsGen, relocationTablesGen, sectHeadersGen, stringTableGen, and symbolTableGen. Referenced by getAllObjects(), and SymbolTable::instrument(). |
|
Definition at line 157 of file Generate.h. References numberOfInstPoints. Referenced by TextSection::getInstrumentationSize(), TextSection::instrument(), main(), CountAllBlocks::reserveDataForInstrumentation(), and CommonMethods::reserveDataForInstrumentation(). |
|
Reimplemented in CommonMethods, CountAllBlocks, DataExtender, and IdenticalInstrumentor. Definition at line 166 of file Generate.h. References __SHOULD_NOT_ARRIVE. Referenced by generateStubForAllLibraryCalls(), LoaderSection::getInstrumentationSize(), and LoaderSection::instrument(). |
|
Definition at line 193 of file Generate.h. References pathToInstLibraries. Referenced by CountAllBlocks::getSharedLibraryPathAndObj(), CacheSimulator::getSharedLibraryPathAndObj(), BasicBlockTracer::getSharedLibraryPathAndObj(), BasicBlockCounter::getSharedLibraryPathAndObj(), and CommonMethods::printInstrumentationPoints(). |
|
Definition at line 139 of file Generate.h. References phaseIndex. Referenced by CountAllBlocks::printInstrumentationPoints(), CommonMethods::printInstrumentationPoints(), CountAllBlocks::reserveDataForInstrumentation(), and CommonMethods::reserveDataForInstrumentation(). |
|
Definition at line 149 of file Generate.C. References BaseGen::getFileOffset(), BaseGen::hasInvalidFileOffset(), numberOfSections, and rawSectionsGen. Referenced by SectHeader64::instrument(), and SectHeader32::instrument(). |
|
Definition at line 142 of file Generate.C. References BaseGen::getSizeInBytes(), numberOfSections, and rawSectionsGen. Referenced by getNewBSSSectionVAddressForInst(), SectHeader64::instrument(), SectHeader32::instrument(), AOutHeader64::instrument(), and AOutHeader32::instrument(). |
|
Definition at line 157 of file Generate.C. References BaseGen::getFileOffset(), BaseGen::hasInvalidFileOffset(), numberOfSections, and relocationTablesGen. Referenced by SectHeader64::instrument(), and SectHeader32::instrument(). |
|
Reimplemented in CommonMethods, CountAllBlocks, DataExtender, and IdenticalInstrumentor. Definition at line 174 of file Generate.h. References __SHOULD_NOT_ARRIVE. Referenced by generateStubForAllLibraryCalls(), and LoaderSection::instrument(). |
|
Reimplemented in BasicBlockCounter, BasicBlockTracer, CacheSimulator, CountAllBlocks, DataExtender, and IdenticalInstrumentor. Definition at line 173 of file Generate.h. References __SHOULD_NOT_ARRIVE. Referenced by generateStubForAllLibraryCalls(), LoaderSection::getInstrumentationSize(), and LoaderSection::instrument(). |
|
Reimplemented in BasicBlockCounter, BasicBlockTracer, CacheSimulator, CountAllBlocks, DataExtender, and IdenticalInstrumentor. Definition at line 175 of file Generate.h. References __SHOULD_NOT_ARRIVE. Referenced by LoaderSection::getInstrumentationSize(), and LoaderSection::instrument(). |
|
Definition at line 135 of file Generate.C. References BaseGen::getFileOffset(), BaseGen::hasInvalidFileOffset(), and symbolTableGen. Referenced by FileHeader64::instrument(), and FileHeader32::instrument(). |
|
Reimplemented in BasicBlockCounter, BasicBlockTracer, CacheSimulator, CountAllBlocks, DataExtender, and IdenticalInstrumentor. Definition at line 177 of file Generate.h. References __SHOULD_NOT_ARRIVE. Referenced by DataSection::instrument(). |
|
Definition at line 207 of file Generate.C. References aOutHeaderGen, fileHeaderGen, BaseGen::initInstrumentationBuffer(), lineInfoTablesGen, numberOfSections, rawSectionsGen, relocationTablesGen, sectHeadersGen, stringTableGen, and symbolTableGen. Referenced by instrument(). |
|
Definition at line 224 of file Generate.C. References aOutHeaderGen, fileHeaderGen, instrumentedFileSize, lineInfoTablesGen, numberOfSections, PRINT_DEBUG, BaseGen::printOffsetMapping(), rawSectionsGen, relocationTablesGen, sectHeadersGen, RawSectionGen::setFileOffset(), BaseGen::setFileOffset(), stringTableGen, and symbolTableGen. Referenced by instrument(). |
|
Definition at line 262 of file Generate.C. References aOutHeaderGen, fileHeaderGen, BaseGen::instrument(), lineInfoTablesGen, numberOfSections, rawSectionsGen, relocationTablesGen, sectHeadersGen, stringTableGen, and symbolTableGen. Referenced by instrument(). |
|
Definition at line 279 of file Generate.C. References DEBUG, SymbolTable::filterSortBSSSymbols(), SymbolTable::getNumberOfSymbols(), XCoffFile::getSymbolTable(), PRINT_INFOR, SymbolTable::printSymbol(), and xcoffFile. Referenced by instrument(). |
|
Definition at line 195 of file Generate.C. References inputFileName, inst_step1_allocateBuffers(), inst_step2_setFileOffsets(), inst_step3_instrumentInBuffer(), inst_step4_updateBSSCSectionEntries(), printInstrumentationPoints(), reserveDataForInstrumentation(), and selectInstrumentationPoints(). Referenced by main(). |
|
Reimplemented in BasicBlockCounter, BasicBlockTracer, CacheSimulator, CountAllBlocks, DataExtender, and IdenticalInstrumentor. Definition at line 179 of file Generate.h. References __SHOULD_NOT_ARRIVE. |
|
Reimplemented in CommonMethods, CountAllBlocks, DataExtender, and IdenticalInstrumentor. Definition at line 156 of file Generate.h. References __SHOULD_NOT_ARRIVE. Referenced by instrument(). |
|
Reimplemented in BasicBlockTracer, CommonMethods, CountAllBlocks, DataExtender, and IdenticalInstrumentor. Definition at line 162 of file Generate.h. References __SHOULD_NOT_ARRIVE. Referenced by instrument(). |
|
Reimplemented in BasicBlockCounter, BasicBlockTracer, CacheSimulator, CountAllBlocks, DataExtender, and IdenticalInstrumentor. Definition at line 155 of file Generate.h. References __SHOULD_NOT_ARRIVE. Referenced by instrument(). |
|
Reimplemented in CommonMethods, CountAllBlocks, DataExtender, and IdenticalInstrumentor. Definition at line 171 of file Generate.h. References __SHOULD_NOT_ARRIVE. Referenced by generateStubForAllLibraryCalls(). |
|
Definition at line 435 of file Generate.C. References pathToInstLibraries, and PRINT_INFOR. Referenced by main(). |
|
Reimplemented in CommonMethods, CountAllBlocks, DataExtender, and IdenticalInstrumentor. Definition at line 164 of file Generate.h. References __SHOULD_NOT_ARRIVE. Referenced by main(). |
|
Definition at line 107 of file Generate.h. Referenced by dump(), getAllObjects(), getNumberOfAllObjects(), inst_step1_allocateBuffers(), inst_step2_setFileOffsets(), inst_step3_instrumentInBuffer(), and XCoffFileGen(). |
|
Definition at line 102 of file Generate.h. Referenced by dump(). |
|
Definition at line 122 of file Generate.h. Referenced by getDataBufferEntryCount(). |
|
Definition at line 121 of file Generate.h. Referenced by getExtendedDataSize(). |
|
Definition at line 103 of file Generate.h. Referenced by getFileExtension(), and XCoffFileGen(). |
|
Definition at line 106 of file Generate.h. Referenced by dump(), getAllObjects(), getNumberOfAllObjects(), inst_step1_allocateBuffers(), inst_step2_setFileOffsets(), inst_step3_instrumentInBuffer(), and XCoffFileGen(). |
|
Definition at line 100 of file Generate.h. Referenced by instrument(). |
|
Definition at line 118 of file Generate.h. Referenced by getInstrumentedFileSize(), and inst_step2_setFileOffsets(). |
|
Definition at line 113 of file Generate.h. Referenced by dump(), getAllObjects(), getLineInfoOffsetForInst(), getNumberOfAllObjects(), inst_step1_allocateBuffers(), inst_step2_setFileOffsets(), inst_step3_instrumentInBuffer(), and XCoffFileGen(). |
|
Definition at line 119 of file Generate.h. Referenced by getNumberOfInstPoints(). |
|
Definition at line 109 of file Generate.h. Referenced by dump(), getAllObjects(), getLineInfoOffsetForInst(), getNumberOfAllObjects(), getRawSectionOffsetForInst(), getRawSectionSizeForInst(), getRelocOffsetForInst(), inst_step1_allocateBuffers(), inst_step2_setFileOffsets(), inst_step3_instrumentInBuffer(), and XCoffFileGen(). |
|
Definition at line 101 of file Generate.h. Referenced by dump(), and XCoffFileGen(). |
|
Definition at line 124 of file Generate.h. Referenced by getPathToInstLib(), setPathToInstLib(), and XCoffFileGen(). |
|
Definition at line 104 of file Generate.h. Referenced by getPhaseIndex(), and XCoffFileGen(). |
|
Definition at line 111 of file Generate.h. Referenced by getAllObjects(), getNumberOfAllObjects(), getRawSectionOffsetForInst(), getRawSectionSizeForInst(), inst_step1_allocateBuffers(), inst_step2_setFileOffsets(), inst_step3_instrumentInBuffer(), and XCoffFileGen(). |
|
Definition at line 112 of file Generate.h. Referenced by dump(), getAllObjects(), getNumberOfAllObjects(), getRelocOffsetForInst(), inst_step1_allocateBuffers(), inst_step2_setFileOffsets(), inst_step3_instrumentInBuffer(), and XCoffFileGen(). |
|
Definition at line 110 of file Generate.h. Referenced by dump(), getAllObjects(), getNumberOfAllObjects(), inst_step1_allocateBuffers(), inst_step2_setFileOffsets(), inst_step3_instrumentInBuffer(), and XCoffFileGen(). |
|
Definition at line 116 of file Generate.h. Referenced by dump(), getAllObjects(), getNumberOfAllObjects(), inst_step1_allocateBuffers(), inst_step2_setFileOffsets(), inst_step3_instrumentInBuffer(), and XCoffFileGen(). |
|
Definition at line 115 of file Generate.h. Referenced by dump(), getAllObjects(), getNumberOfAllObjects(), getSymbolTableOffsetForInst(), inst_step1_allocateBuffers(), inst_step2_setFileOffsets(), inst_step3_instrumentInBuffer(), and XCoffFileGen(). |
|
Definition at line 98 of file Generate.h. Referenced by generateStubForAllLibraryCalls(), getNewBSSSectionVAddressForInst(), getNumberOfAllBlocks(), getNumberOfAllFloatPOps(), getNumberOfAllFunctions(), getNumberOfAllMemoryOps(), inst_step4_updateBSSCSectionEntries(), and XCoffFileGen(). |