#include <loader/ExeBinaryFile.h>
Inheritance diagram for ExeBinaryFile:
Definition at line 70 of file ExeBinaryFile.h.
Public Member Functions | |
virtual void | Close () |
virtual bool | DisplayDetails (const char *fileName, FILE *f=stdout) |
ExeBinaryFile () | |
virtual std::list< const char * > | getDependencyList () |
virtual ADDRESS | GetEntryPoint () |
virtual std::list< SectionInfo * > & | GetEntryPoints (const char *pEntry="main") |
virtual const char * | getFilename () const |
virtual LOAD_FMT | GetFormat () const |
virtual ADDRESS | getImageBase () |
virtual size_t | getImageSize () |
virtual MACHINE | GetMachine () const |
virtual ADDRESS | GetMainEntryPoint () |
virtual bool | isLibrary () const |
virtual bool | Open (const char *sName) |
virtual bool | PostLoad (void *handle) |
virtual char * | SymbolByAddr (ADDRESS a) |
virtual void | UnLoad () |
Protected Member Functions | |
virtual bool | RealLoad (const char *sName) |
Private Attributes | |
int | m_cbImage |
int | m_cReloc |
const char * | m_pFileName |
exeHeader * | m_pHeader |
Byte * | m_pImage |
DWord * | m_pRelocTable |
|
Definition at line 27 of file ExeBinaryFile.cpp. |
|
Implements BinaryFile. Definition at line 244 of file ExeBinaryFile.cpp. |
|
Reimplemented from BinaryFile. Definition at line 223 of file ExeBinaryFile.cpp. |
|
Implements BinaryFile. Definition at line 260 of file ExeBinaryFile.cpp. |
|
Implements BinaryFile. Definition at line 281 of file ExeBinaryFile.cpp. References exeHeader::initCS, exeHeader::initIP, LH, and m_pHeader. |
|
Implements BinaryFile. Definition at line 288 of file ExeBinaryFile.cpp. References BinaryFile::GetSectionInfoByName(). |
|
Implements BinaryFile. Definition at line 80 of file ExeBinaryFile.h. References m_pFileName. |
|
Implements BinaryFile. Definition at line 229 of file ExeBinaryFile.cpp. References LOADFMT_EXE. |
|
Implements BinaryFile. Definition at line 265 of file ExeBinaryFile.cpp. |
|
Implements BinaryFile. Definition at line 270 of file ExeBinaryFile.cpp. |
|
Implements BinaryFile. Definition at line 234 of file ExeBinaryFile.cpp. References MACHINE_PENTIUM. |
|
Implements BinaryFile. Definition at line 276 of file ExeBinaryFile.cpp. References NO_ADDRESS. Referenced by SymbolByAddr(). |
|
Implements BinaryFile. Definition at line 255 of file ExeBinaryFile.cpp. |
|
Implements BinaryFile. Definition at line 239 of file ExeBinaryFile.cpp. |
|
Implements BinaryFile. Definition at line 249 of file ExeBinaryFile.cpp. |
|
Implements BinaryFile. Definition at line 31 of file ExeBinaryFile.cpp. References exeHeader::initCS, exeHeader::initIP, exeHeader::initSP, exeHeader::initSS, exeHeader::lastPageSize, LH, m_cReloc, BinaryFile::m_iNumSections, m_pFileName, m_pHeader, m_pRelocTable, BinaryFile::m_pSections, BinaryFile::m_uInitPC, BinaryFile::m_uInitSP, NULL, exeHeader::numPages, exeHeader::numParaHeader, exeHeader::numReloc, exeHeader::relocTabOffset, exeHeader::sigHi, and exeHeader::sigLo. |
|
Definition at line 214 of file ExeBinaryFile.cpp. References GetMainEntryPoint(). |
|
Implements BinaryFile. Definition at line 207 of file ExeBinaryFile.cpp. References m_pHeader, and m_pRelocTable. |
|
Definition at line 108 of file ExeBinaryFile.h. |
|
Definition at line 109 of file ExeBinaryFile.h. Referenced by RealLoad(). |
|
Definition at line 111 of file ExeBinaryFile.h. Referenced by getFilename(), and RealLoad(). |
|
Definition at line 106 of file ExeBinaryFile.h. Referenced by GetEntryPoint(), RealLoad(), and UnLoad(). |
|
Definition at line 107 of file ExeBinaryFile.h. |
|
Definition at line 110 of file ExeBinaryFile.h. Referenced by RealLoad(), and UnLoad(). |