#include <IatDirectory.h>
Public Member Functions | |
| void | addAddress (dword dwValue) |
| Adds another address to the IAT. | |
| dword | getAddress (dword dwAddrnr) const |
| Retrieve the value of a field in the IAT. | |
| unsigned int | numberOfAddresses () const |
| Returns the number of fields in the IAT. | |
| int | read (const std::string &strFilename, unsigned int dwOffset, unsigned int dwSize) |
| Reads the Import Address Table from a PE file. | |
| void | rebuild (std::vector< byte > &vBuffer) const |
| void | removeAddress (dword dwAddrnr) |
| Removes an address from the IAT. | |
| void | removeAll () |
| Empties the IAT. | |
| void | setAddress (dword dwAddrnr, dword dwValue) |
| Change the value of a field in the IAT. | |
| unsigned int | size () const |
| Returns the size of the current IAT. | |
| int | write (const std::string &strFilename, unsigned int uiOffset) const |
| Writes the current IAT to a file. | |
Private Attributes | |
| std::vector< dword > | m_vIat |
| Stores the individual IAT fields. | |
This class can read and modify the Import Address Table of a PE file.
|
|
Adds another address to the IAT. Adds another field to the IAT.
|
|
|
Retrieve the value of a field in the IAT. Returns the dwValue of a field in the IAT.
|
|
|
Returns the number of fields in the IAT. Returns the number of fields in the IAT. This is equivalent to the number of imported functions.
|
|
||||||||||||||||
|
Reads the Import Address Table from a PE file. Reads the Import Address table from a file.
|
|
|
Rebuilds the complete Import Address Table.
Here is the call graph for this function: ![]() |
|
|
Removes an address from the IAT. Removes an address from the IAT.
|
|
|
Empties the IAT. Delete all entries from the IAT. |
|
||||||||||||
|
Change the value of a field in the IAT. Updates the dwValue of a field in the IAT.
|
1.3.7