#include <BinaryFile.h>
Public Member Functions | |
BinaryInputFile () | |
~BinaryInputFile () | |
void | readFileInMemory (char *f) |
char * | copyBytes (void *buff, uint32_t bytes) |
char * | copyBytesIterate (void *buff, uint32_t bytes) |
char * | onlyIterate (uint32_t bytes) |
char * | moreBytes () |
char * | fileOffsetToPointer (uint64_t fileOffset) |
char * | setInBufferPointer (uint64_t fileOffset) |
char * | isInBuffer (char *f) |
char * | setInPointer (char *f) |
char * | inPtrBase () |
uint32_t | alreadyRead () |
uint32_t | bytesLeftInBuffer () |
uint32_t | getSize () |
uint32_t | currentOffset () |
Private Attributes | |
char * | inBufferPointer |
uint32_t | inBufferSize |
char * | inBuffer |
|
Definition at line 12 of file BinaryFile.h. References inBuffer, inBufferPointer, and inBufferSize. |
|
Definition at line 13 of file BinaryFile.h. |
|
Definition at line 30 of file BinaryFile.h. References inBuffer, and inBufferPointer. Referenced by XCoffFile::readAuxilaryHeader(), XCoffFile::readFileHeader(), and XCoffFile::readSectionHeaders(). |
|
Definition at line 133 of file BinaryFile.C. References inBuffer, inBufferPointer, and inBufferSize. Referenced by StringTable::read(). |
|
Definition at line 46 of file BinaryFile.C. References inBuffer, inBufferPointer, inBufferSize, and PRINT_DEBUG. Referenced by copyBytesIterate(), XCoffFile::parse(), and StringTable::read(). |
|
Definition at line 65 of file BinaryFile.C. References copyBytes(), and inBufferPointer. Referenced by SymbolTable::newSymbol(), SectHeader64::read(), SectHeader32::read(), RelocationTable::read(), LoaderSection::read(), ExceptionSection::read(), LineInfoTable::read(), FileHeader64::read(), FileHeader32::read(), AOutHeader64::read(), and AOutHeader32::read(). |
|
Definition at line 35 of file BinaryFile.h. References inBuffer, and inBufferPointer. Referenced by SymbolTable::read(), StringTable::read(), SectHeader64::read(), SectHeader32::read(), RelocationTable::read(), LoaderSection::read(), ExceptionSection::read(), RawSection::read(), LineInfoTable::read(), FileHeader64::read(), FileHeader32::read(), AOutHeader64::read(), and AOutHeader32::read(). |
|
Definition at line 97 of file BinaryFile.C. References inBuffer, and inBufferSize. Referenced by SectHeader::initFilePointers(), FileHeader::initFilePointers(), and setInBufferPointer(). |
|
Definition at line 33 of file BinaryFile.h. References inBufferSize. Referenced by XCoffFile::getFileSize(). |
|
Definition at line 28 of file BinaryFile.h. References inBuffer. Referenced by SymbolTable::read(). |
|
Definition at line 115 of file BinaryFile.C. References inBuffer, and inBufferSize. Referenced by XCoffFile::readSymbolStringTable(), and setInPointer(). |
|
Definition at line 88 of file BinaryFile.C. References inBuffer, inBufferPointer, and inBufferSize. |
|
Definition at line 76 of file BinaryFile.C. References inBuffer, inBufferPointer, and inBufferSize. |
|
Definition at line 6 of file BinaryFile.C. References inBuffer, inBufferPointer, inBufferSize, PRINT_ERROR, and PRINT_INFOR. Referenced by XCoffFile::parse(). |
|
Definition at line 107 of file BinaryFile.C. References fileOffsetToPointer(), and inBufferPointer. |
|
Definition at line 124 of file BinaryFile.C. References inBufferPointer, and isInBuffer(). Referenced by SymbolTable::read(), StringTable::read(), RelocationTable::read(), LoaderSection::read(), ExceptionSection::read(), RawSection::read(), and LineInfoTable::read(). |
|
Definition at line 10 of file BinaryFile.h. Referenced by alreadyRead(), BinaryInputFile(), bytesLeftInBuffer(), copyBytes(), currentOffset(), fileOffsetToPointer(), inPtrBase(), isInBuffer(), moreBytes(), onlyIterate(), and readFileInMemory(). |
|
Definition at line 8 of file BinaryFile.h. Referenced by alreadyRead(), BinaryInputFile(), bytesLeftInBuffer(), copyBytes(), copyBytesIterate(), currentOffset(), moreBytes(), onlyIterate(), readFileInMemory(), setInBufferPointer(), and setInPointer(). |
|
Definition at line 9 of file BinaryFile.h. Referenced by BinaryInputFile(), bytesLeftInBuffer(), copyBytes(), fileOffsetToPointer(), getSize(), isInBuffer(), moreBytes(), onlyIterate(), and readFileInMemory(). |