In PE format, we have a table import directory (accessed via IMAGE_DIRECTORY_ENTRY_IMPORT) and an IAT directory (accessed via IMAGE_DIRECTORY_ENTRY_IAT) both are part of the additional header data directory.
Using the import table, the loader dynamically loads and enables the necessary libraries and functions. This is done by iterating through the RVA (Thunk Table) import address table, which is part of the import table.
So, if we use the import directory to allow imports, why do we need the IAT Directory?
I read the Microsoft PE specification but could not find the answer. There are also some questions in SO, but most of them use the IAT to access the Thunk table, not the IAT directory.
thanks
EDIT
I think there is some confusion between the Import Address Table, which is a field in the Import Table directory and Import Address Table called the IAT Directory. My question is about the IAT directory.
Thanks again
Yuval source
share