[PATCH 0/3] PE delay import fixes

Jeremy Drake sourceware-bugzilla@jdrake.com
Mon Apr 28 19:43:00 GMT 2025


On Wed, 23 Apr 2025, Jan Beulich wrote:

> On 22.04.2025 19:45, Jeremy Drake wrote:
> > Ping after 1 week.
>
> Just to assure you - this is on my list of things to look at (if no-one else
> beats me), but I can't promise when I'll be able to get to it. One further
> delaying factor is that I'll first need to read up on what the spec actually
> permits (or even requires) to be done for delay imports.

I finally re-found a doc that I was sure I had read but then couldn't find
again, that goes into detail about what "should" and "may" be done with
the delay load IAT.  It looks like it also lays out what is the
responsibility of "the image's internal delay load resolution stubs" (ie,
mingw-w64's delayimp.c).

https://learn.microsoft.com/en-us/windows/win32/secbp/pe-metadata#import-handling
see the second bullet point about "Protected delay load"


More information about the Binutils mailing list