AsmResolver icon indicating copy to clipboard operation
AsmResolver copied to clipboard

Support for Delay-Load Tables

Open Washi1337 opened this issue 2 years ago • 0 comments

Problem Description

Next to the "normal" import lookup and address tables, PE also defines delay-load import tables that are very similar, but are meant for DLLs that are not loaded until the first call into that DLL. Currently, AsmResolver has no way of reading/writing these imports.

Proposal

Models that allow for inspecting and modifying Delay-Load import tables.

Alternatives

N/A.

Additional context

Gaining access to the delay import tables can be very valuable when trying to improve startup times of PE files generated by AsmResolver. Furthermore, it also further helps disassemblers to add interpretations to code that references entries within these tables.

A lot of the code of the "normal" import lookup and address tables can probably be reused, since the format is very similar and in some places identical.

Washi1337 avatar Apr 09 '22 12:04 Washi1337