Commit Graph

2 Commits

Author SHA1 Message Date
da499ab911 Loader: initialise dependencies before their importers
map_image pushes a module into order_ before bind_imports maps the modules it
imports, so order_ lists an importer ahead of its DLLs, and initialise() ran
TLS callbacks and DllMain in that order. Keep a separate init_order_ filled
after a module's imports are loaded and initialise from it. modules() stays
mapping order. pe_loader_test checks tiny_dll comes before tiny_exe.
2026-11-21 21:07:23 +01:00
caa31b5fd2 Runtime: tests for the native PE loader (fixtures, imports, relocations) 2026-11-21 18:08:39 +00:00