#include <TlsDirectory.h>
Public Member Functions | |
| dword | getAddressOfCallBacks () const |
| Returns the AddressOfCallBacks value of the TLS header. | |
| dword | getAddressOfIndex () const |
| Returns the AddressOfIndex value of the TLS header. | |
| dword | getCharacteristics () const |
| Returns the Characteristics value of the TLS header. | |
| dword | getEndAddressOfRawData () const |
| Returns the EndAddressOfRawData value of the TLS header. | |
| dword | getSizeOfZeroFill () const |
| Returns the SizeOfZeroFill value of the TLS header. | |
| dword | getStartAddressOfRawData () const |
| Returns the StartAddressOfRawData value of the TLS header. | |
| int | read (const std::string &strFilename, unsigned int uiOffset, unsigned int uiSize) |
| Reads a file's TLS directory. | |
| void | rebuild (std::vector< byte > &vBuffer) const |
| Rebuilds the TLS directory. | |
| void | setAddressOfCallBacks (dword dwValue) |
| Sets the AddressOfCallBacks value of the TLS header. | |
| void | setAddressOfIndex (dword dwValue) |
| Sets the AddressOfIndex value of the TLS header. | |
| void | setCharacteristics (dword dwValue) |
| Sets the Characteristics value of the TLS header. | |
| void | setEndAddressOfRawData (dword dwValue) |
| Sets the EndAddressOfRawData value of the TLS header. | |
| void | setSizeOfZeroFill (dword dwValue) |
| Sets the SizeOfZeroFill value of the TLS header. | |
| void | setStartAddressOfRawData (dword dwValue) |
| Sets the StartAddressOfRawData value of the TLS header. | |
| unsigned int | size () const |
| Returns the size of the TLS Directory. | |
| int | write (const std::string &strFilename, unsigned int dwOffset) const |
| Writes the TLS directory to a file. | |
Private Attributes | |
|
PELIB_IMAGE_TLS_DIRECTORY< bits > | m_tls |
| Structure that holds all information about the directory. | |
This class handles the TLS (Thread Local Storage) directory.
|
|
Returns the AddressOfCallBacks value of the TLS header.
|
|
|
Returns the AddressOfIndex value of the TLS header.
|
|
|
Returns the Characteristics value of the TLS header.
|
|
|
Returns the EndAddressOfRawData value of the TLS header.
|
|
|
Returns the SizeOfZeroFill value of the TLS header.
|
|
|
Returns the StartAddressOfRawData value of the TLS header.
|
|
||||||||||||||||
|
Reads a file's TLS directory. Reads a file's TLS directory.
|
|
|
Rebuilds the TLS directory. Rebuilds the current TLS Directory.
|
|
|
Sets the AddressOfCallBacks value of the TLS header.
|
|
|
Sets the AddressOfIndex value of the TLS header.
|
|
|
Sets the Characteristics value of the TLS header.
|
|
|
Sets the EndAddressOfRawData value of the TLS header.
|
|
|
Sets the SizeOfZeroFill value of the TLS header.
|
|
|
Sets the StartAddressOfRawData value of the TLS header.
|
|
|
Returns the size of the TLS Directory. Returns the size of the TLS directory. Due to the static nature of this structure the return value will always be 24.
|
|
||||||||||||
|
Writes the TLS directory to a file.
|
1.3.7