Invent new .idata section for the page containing the import directory

This change simply shortens .rsrc by one page and then adds a
one-page-sized section called .idata in its place, so that there's no
longer import stuff in .rsrc, where it doesn't really belong.

Characteristics on .rsrc were modified so it's no longer writable;
writability was maintained for .rdata and .idata, as they both contain
import data.
This commit is contained in:
Justin Gottula 2018-01-20 01:22:47 -08:00
parent dc774bd5c3
commit 68b488833b
1 changed files with 0 additions and 0 deletions

BIN
loco.exe

Binary file not shown.