8 Commits
Author SHA1 Message Date
mirkobrombin 57701c4032 fix: load libraries of managed code alone in a 64-bit process 2026-11-03 09:58:51 +00:00
Ray Bennett 053812d3bc fix: move relocatable modules aside for an image that needs its own base (#28)
An image without a relocation directory can only run at its preferred
base. When a relocatable module had already been placed there, ModuleSet
moved the fixed image to a fallback base instead, where it breaks at run
time. Before binding, the relocatable modules in the way are now mapped
again at the first free fallback base, with their relocations reapplied,
and the fixed image gets its own base. LoadedImage gains move
construction and assignment so a module's mapping can be replaced.

Assisted-by: Claude Code:claude-opus-5-5
AI-Scope: Wrote the ModuleSet and LoadedImage changes and the
 module_set_test case, after a DLL without relocations failed to load
 because a relocatable module occupied its base. Prompt: find what
 stops the program's own DLL from loading and fix it in Raven.
2026-10-28 16:50:31 +01:00
Mirko Brombin 93acf0d441 feat: load libraries only mapped, as data or through their own manifest, and read plain files through the LZ functions 2026-10-03 10:21:49 +00:00
Mirko Brombin 6a578e79d8 feat: load a resource-only library without relocations away from its preferred base 2026-09-21 16:09:02 +00:00
Mirko Brombin 29bfe62d6f feat: keep each module's parsed resources and parse again only when the directory parts they came from change 2026-09-20 16:49:29 +02:00
Mirko Brombin 431951f8ca feat: check relocation blocks a page at a time and apply fixups a word at a time 2026-09-20 14:09:59 +02:00
Mirko Brombin dd4dba704e feat: map libraries and read-only file views from the host file, cache guest registers per stop and serve completed one-time inits in the guest 2026-09-20 13:02:13 +02:00
Mirko Brombin 154272073d feat: preserve native C++ migration 2026-07-31 16:46:25 +02:00