#include <DebugDirectory.h>
Public Member Functions | |
void | addEntry () |
Adds a new debug structure. | |
dword | getAddressOfRawData (unsigned int uiIndex) const |
Returns the AddressOfRawData value of a debug structure. | |
dword | getCharacteristics (unsigned int uiIndex) const |
Returns the Characteristics value of a debug structure. | |
word | getMajorVersion (unsigned int uiIndex) const |
Returns the MajorVersion value of a debug structure. | |
word | getMinorVersion (unsigned int uiIndex) const |
Returns the MinorVersion value of a debug structure. | |
unsigned int | getNumberOfEntries () const |
Returns the number of DebugDirectory image structures in the current DebugDirectory. | |
dword | getPointerToRawData (unsigned int uiIndex) const |
Returns the PointerToRawData value of a debug structure. | |
dword | getSizeOfData (unsigned int uiIndex) const |
Returns the SizeOfData value of a debug structure. | |
dword | getTimeDateStamp (unsigned int uiIndex) const |
Returns the TimeDateStamp value of a debug structure. | |
dword | getType (unsigned int uiIndex) const |
Returns the Type value of a debug structure. | |
int | read (const std::string &strFilename, unsigned int uiOffset, unsigned int uiSize) |
Reads the Debug directory from a file. | |
void | rebuild (std::vector< byte > &obBuffer) const |
Rebuilds the current Debug directory. | |
void | removeEntry (unsigned int uiIndex) |
Removes a debug structure. | |
void | setAddressOfRawData (unsigned int uiIndex, dword dwValue) |
Sets the AddressOfRawData value of a debug structure. | |
void | setCharacteristics (unsigned int uiIndex, dword dwValue) |
Sets the Characteristics value of a debug structure. | |
void | setMajorVersion (unsigned int uiIndex, word wValue) |
Sets the MajorVersion value of a debug structure. | |
void | setMinorVersion (unsigned int uiIndex, word wValue) |
Sets the MinorVersion value of a debug structure. | |
void | setPointerToRawData (unsigned int uiIndex, dword dwValue) |
Sets the PointerToRawData value of a debug structure. | |
void | setSizeOfData (unsigned int uiIndex, dword dwValue) |
Sets the SizeOfData value of a debug structure. | |
void | setTimeDateStamp (unsigned int uiIndex, dword dwValue) |
Sets the TimeDateStamp value of a debug structure. | |
void | setType (unsigned int uiIndex, dword dwValue) |
Sets the Type value of a debug structure. | |
unsigned int | size () const |
Returns the size the current Debug directory needs after rebuilding. | |
int | write (const std::string &strFilename, unsigned int uiOffset) const |
Writes the current Debug directory back to a file. | |
Private Attributes | |
std::vector< PELIB_IMG_DEBUG_DIRECTORY > | m_vDebugInfo |
Stores the various DebugDirectory structures. |
|
Adds a new debug structure. Adds a new debug structure to the debug directory. The initial values of all members of the structure are undefined. |
|
Returns the AddressOfRawData value of a debug structure. Returns the AddressOfRawData value of a debug structure. If an invalid structure is specified by the parameter uiIndex the result will be undefined behaviour.
|
|
Returns the Characteristics value of a debug structure. Returns the Characteristics value of a debug structure. If an invalid structure is specified by the parameter uiIndex the result will be undefined behaviour.
|
|
Returns the MajorVersion value of a debug structure. Returns the MajorVersion value of a debug structure. If an invalid structure is specified by the parameter uiIndex the result will be undefined behaviour.
|
|
Returns the MinorVersion value of a debug structure. Returns the MinorVersion value of a debug structure. If an invalid structure is specified by the parameter uiIndex the result will be undefined behaviour.
|
|
Returns the number of DebugDirectory image structures in the current DebugDirectory.
|
|
Returns the PointerToRawData value of a debug structure. Returns the PointerToRawData value of a debug structure. If an invalid structure is specified by the parameter uiIndex the result will be undefined behaviour.
|
|
Returns the SizeOfData value of a debug structure. Returns the SizeOfData value of a debug structure. If an invalid structure is specified by the parameter uiIndex the result will be undefined behaviour.
|
|
Returns the TimeDateStamp value of a debug structure. Returns the TimeDateStamp value of a debug structure. If an invalid structure is specified by the parameter uiIndex the result will be undefined behaviour.
|
|
Returns the Type value of a debug structure. Returns the Type value of a debug structure. If an invalid structure is specified by the parameter uiIndex the result will be undefined behaviour.
|
|
Reads the Debug directory from a file.
|
|
Rebuilds the current Debug directory. Rebuilds the current debug directory.
|
|
Removes a debug structure. Removes a debug structure from the current debug directory. If an invalid structure is specified by the parameter uiIndex the result will be undefined behaviour.
|
|
Sets the AddressOfRawData value of a debug structure. Changes the AddressOfRawData value of a debug structure. If an invalid structure is specified by the parameter uiIndex the result will be undefined behaviour.
|
|
Sets the Characteristics value of a debug structure. Changes the Characteristics value of a debug structure. If an invalid structure is specified by the parameter uiIndex the result will be undefined behaviour.
|
|
Sets the MajorVersion value of a debug structure. Changes the MajorVersion value of a debug structure. If an invalid structure is specified by the parameter uiIndex the result will be undefined behaviour.
|
|
Sets the MinorVersion value of a debug structure. Changes the MinorVersion value of a debug structure. If an invalid structure is specified by the parameter uiIndex the result will be undefined behaviour.
|
|
Sets the PointerToRawData value of a debug structure. Changes the PointerToRawData value of a debug structure. If an invalid structure is specified by the parameter uiIndex the result will be undefined behaviour.
|
|
Sets the SizeOfData value of a debug structure. Changes the SizeOfData value of a debug structure. If an invalid structure is specified by the parameter uiIndex the result will be undefined behaviour.
|
|
Sets the TimeDateStamp value of a debug structure. Changes the TimeDateStamp value of a debug structure. If an invalid structure is specified by the parameter uiIndex the result will be undefined behaviour.
|
|
Sets the Type value of a debug structure. Changes the Type value of a debug structure. If an invalid structure is specified by the parameter uiIndex the result will be undefined behaviour.
|
|
Returns the size the current Debug directory needs after rebuilding.
|
|
Writes the current Debug directory back to a file.
|