#include <loader/DOS4GWBinaryFile.h>
Inheritance diagram for DOS4GWBinaryFile:
Definition at line 131 of file DOS4GWBinaryFile.h.
Public Member Functions | |
virtual void | AddSymbol (ADDRESS uNative, const char *pName) |
virtual void | Close () |
virtual bool | DisplayDetails (const char *fileName, FILE *f=stdout) |
DOS4GWBinaryFile () | |
virtual ADDRESS | GetAddressByName (const char *name, bool bNoTypeOK=false) |
DWord | getDelta () |
virtual std::list< const char * > | getDependencyList () |
virtual const char * | GetDynamicProcName (ADDRESS uNative) |
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 std::map< ADDRESS, std::string > & | getSymbols () |
virtual bool | IsDynamicLinkedProc (ADDRESS uNative) |
virtual bool | IsDynamicLinkedProcPointer (ADDRESS uNative) |
virtual bool | isLibrary () const |
virtual bool | Open (const char *sName) |
virtual int | readNative1 (ADDRESS a) |
virtual int | readNative2 (ADDRESS a) |
virtual int | readNative4 (ADDRESS a) |
virtual QWord | readNative8 (ADDRESS a) |
virtual float | readNativeFloat4 (ADDRESS a) |
virtual double | readNativeFloat8 (ADDRESS a) |
virtual const char * | SymbolByAddress (ADDRESS dwAddr) |
virtual void | UnLoad () |
virtual | ~DOS4GWBinaryFile () |
Protected Member Functions | |
int | dos4gwRead2 (short *ps) const |
int | dos4gwRead4 (int *pi) const |
virtual bool | RealLoad (const char *sName) |
Private Member Functions | |
bool | PostLoad (void *handle) |
Private Attributes | |
char * | base |
std::map< ADDRESS, std::string > | dlprocptrs |
int | m_cbImage |
const char * | m_pFileName |
Header * | m_pHeader |
LXHeader * | m_pLXHeader |
LXObject * | m_pLXObjects |
LXPage * | m_pLXPages |
|
Definition at line 38 of file DOS4GWBinaryFile.cpp. |
|
Definition at line 41 of file DOS4GWBinaryFile.cpp. References BinaryFile::m_iNumSections, and BinaryFile::m_pSections. |
|
Reimplemented from BinaryFile. Definition at line 398 of file DOS4GWBinaryFile.cpp. References dlprocptrs. |
|
Implements BinaryFile. Definition at line 55 of file DOS4GWBinaryFile.cpp. References UnLoad(). |
|
Reimplemented from BinaryFile. Definition at line 403 of file DOS4GWBinaryFile.cpp. |
|
Definition at line 409 of file DOS4GWBinaryFile.cpp. Referenced by dos4gwRead4(), and readNative2(). |
|
Definition at line 416 of file DOS4GWBinaryFile.cpp. References dos4gwRead2(). Referenced by readNative4(). |
|
Reimplemented from BinaryFile. Definition at line 384 of file DOS4GWBinaryFile.cpp. References dlprocptrs. Referenced by GetMainEntryPoint(). |
|
Definition at line 532 of file DOS4GWBinaryFile.cpp. References base, and m_pLXObjects. |
|
Implements BinaryFile. Definition at line 527 of file DOS4GWBinaryFile.cpp. |
|
Reimplemented from BinaryFile. Definition at line 497 of file DOS4GWBinaryFile.cpp. References dlprocptrs. |
|
Implements BinaryFile. Definition at line 68 of file DOS4GWBinaryFile.cpp. References LXHeader::eip, LXHeader::eipobjectnum, LMMH, m_pLXHeader, and m_pLXObjects. |
|
Implements BinaryFile. Definition at line 59 of file DOS4GWBinaryFile.cpp. |
|
Implements BinaryFile. Definition at line 143 of file DOS4GWBinaryFile.h. References m_pFileName. |
|
Implements BinaryFile. Definition at line 502 of file DOS4GWBinaryFile.cpp. References LOADFMT_LX. |
|
Implements BinaryFile. Definition at line 517 of file DOS4GWBinaryFile.cpp. References m_pLXObjects, and LXObject::RelocBaseAddr. |
|
Implements BinaryFile. Definition at line 522 of file DOS4GWBinaryFile.cpp. |
|
Implements BinaryFile. Definition at line 507 of file DOS4GWBinaryFile.cpp. References MACHINE_PENTIUM. |
|
Implements BinaryFile. Definition at line 73 of file DOS4GWBinaryFile.cpp. References addr(), base, LXHeader::eip, GetAddressByName(), BinaryFile::GetSectionInfoByName(), LMMH, m_pLXHeader, microX86Dis(), NO_ADDRESS, NULL, size, SectionInfo::uNativeAddr, and SectionInfo::uSectionSize. |
|
Reimplemented from BinaryFile. Definition at line 183 of file DOS4GWBinaryFile.h. References dlprocptrs. |
|
Reimplemented from BinaryFile. Definition at line 358 of file DOS4GWBinaryFile.cpp. References dlprocptrs. |
|
Reimplemented from BinaryFile. Definition at line 490 of file DOS4GWBinaryFile.cpp. References dlprocptrs. |
|
Implements BinaryFile. Definition at line 512 of file DOS4GWBinaryFile.cpp. |
|
Implements BinaryFile. Definition at line 50 of file DOS4GWBinaryFile.cpp. |
|
Implements BinaryFile. Definition at line 371 of file DOS4GWBinaryFile.cpp. |
|
Reimplemented from BinaryFile. Definition at line 425 of file DOS4GWBinaryFile.cpp. References BinaryFile::GetSectionInfo(), BinaryFile::GetSectionInfoByAddr(), SectionInfo::uHostAddr, and SectionInfo::uNativeAddr. |
|
Reimplemented from BinaryFile. Definition at line 434 of file DOS4GWBinaryFile.cpp. References dos4gwRead2(), BinaryFile::GetSectionInfoByAddr(), SectionInfo::uHostAddr, and SectionInfo::uNativeAddr. |
|
Reimplemented from BinaryFile. Definition at line 443 of file DOS4GWBinaryFile.cpp. References dos4gwRead4(), BinaryFile::GetSectionInfoByAddr(), SectionInfo::uHostAddr, and SectionInfo::uNativeAddr. Referenced by readNative8(), readNativeFloat4(), and readNativeFloat8(). |
|
Reimplemented from BinaryFile. Definition at line 452 of file DOS4GWBinaryFile.cpp. References readNative4(). |
|
Reimplemented from BinaryFile. Definition at line 467 of file DOS4GWBinaryFile.cpp. References readNative4(). |
|
Reimplemented from BinaryFile. Definition at line 475 of file DOS4GWBinaryFile.cpp. References readNative4(). |
|
Implements BinaryFile. Definition at line 143 of file DOS4GWBinaryFile.cpp. References LMMH, m_cbImage, m_pFileName, m_pLXHeader, m_pLXObjects, LXHeader::numobjsinmodule, LXHeader::objtbloffset, LXHeader::sigHi, and LXHeader::sigLo. |
|
Reimplemented from BinaryFile. Definition at line 376 of file DOS4GWBinaryFile.cpp. References dlprocptrs. |
|
Implements BinaryFile. Definition at line 367 of file DOS4GWBinaryFile.cpp. Referenced by Close(). |
|
Definition at line 199 of file DOS4GWBinaryFile.h. Referenced by getDelta(), and GetMainEntryPoint(). |
|
Definition at line 201 of file DOS4GWBinaryFile.h. Referenced by AddSymbol(), GetAddressByName(), GetDynamicProcName(), getSymbols(), IsDynamicLinkedProc(), IsDynamicLinkedProcPointer(), and SymbolByAddress(). |
|
Definition at line 196 of file DOS4GWBinaryFile.h. Referenced by RealLoad(). |
|
Definition at line 202 of file DOS4GWBinaryFile.h. Referenced by getFilename(), and RealLoad(). |
|
Definition at line 192 of file DOS4GWBinaryFile.h. |
|
Definition at line 193 of file DOS4GWBinaryFile.h. Referenced by GetEntryPoint(), GetMainEntryPoint(), and RealLoad(). |
|
Definition at line 194 of file DOS4GWBinaryFile.h. Referenced by getDelta(), GetEntryPoint(), getImageBase(), and RealLoad(). |
|
Definition at line 195 of file DOS4GWBinaryFile.h. |