Clear the IAT directory alongside the import directory

Windows 10 maps the prepared image with both entries empty. The binder already retains the original slot RVAs, so preparation need not locate a linker-provided terminator.
This commit is contained in:
ifBars committed 2026-11-23 15:55:36 -08:00
1 parent d85097af2e
commit 4da3d63666
2 files changed
+40 -43

No files matched your search

+1
View File
@@ -37,6 +37,7 @@ pub mod dir {
pub const BASERELOC: usize = 5;
pub const LOAD_CONFIG: usize = 10;
pub const BOUND_IMPORT: usize = 11;
pub const IAT: usize = 12;
}
/// `IMAGE_FILE_HEADER::Characteristics` flags.