#include <PeFile.h>
Inheritance diagram for PeFileT:
Public Member Functions | |
unsigned int | getBits () const |
std::string | getFileName () const |
Returns the name of the current file. | |
ImportDirectory< bits > & | impDir () |
Accessor function for the import directory. | |
const ImportDirectory< bits > & | impDir () const |
Accessor function for the import directory. | |
PeFileT (const std::string &strFilename) | |
Initializes a PeFile with a filename. | |
PeFileT () | |
Default constructor which exists only for the sake of allowing to construct files without filenames. | |
PeHeader32_64 & | peHeader () |
Accessor function for the PE header. | |
const PeHeader32_64 & | peHeader () const |
Accessor function for the PE header. | |
int | readBoundImportDirectory () |
Reads the bound import directory of the current file from disc. | |
int | readComHeaderDirectory () |
Reads the COM+ descriptor directory of the current file from disc. | |
int | readDebugDirectory () |
Reads the Debug directory of the current file. | |
int | readExportDirectory () |
Reads the export directory of the current file from disc. | |
int | readIatDirectory () |
Reads the IAT directory of the current file from disc. | |
int | readImportDirectory () |
Reads the import directory of the current file from disc. | |
int | readMzHeader () |
Reads the MZ header of the current file from disc. | |
int | readPeHeader () |
Reads the PE header of the current file from disc. | |
int | readRelocationsDirectory () |
Reads the relocations directory of the current file from disc. | |
int | readResourceDirectory () |
Reads the resource directory of the current file from disc. | |
int | readTlsDirectory () |
void | setFileName (std::string strFilename) |
Changes the name of the current file. | |
TlsDirectory< bits > & | tlsDir () |
const TlsDirectory< bits > & | tlsDir () const |
Private Types | |
typedef PeFile_Traits< bits >::PeHeader32_64 | PeHeader32_64 |
Private Attributes | |
ImportDirectory< bits > | m_impdir |
Import directory of the current file. | |
PeHeader32_64 | m_peh |
PE header of the current file. | |
TlsDirectory< bits > | m_tlsdir |
|
Initializes a PeFile with a filename.
|
|
Returns the name of the current file.
Implements PeFile. |
|
Accessor function for the import directory.
|
|
Accessor function for the import directory.
|
|
Accessor function for the PE header.
|
|
Accessor function for the PE header.
|
|
Changes the name of the current file.
Implements PeFile. |