mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 22:18:12 +00:00
![]() We previously trusted the `map` part in `map_library` too much, and assumed that this would already lock in the binary at its final place. However, the `map()` function of the loader was only called in `load_main_library`, which ran only right before jumping to the entrypoint. Make our binary loading a bit more stable by actually mapping the binary right after we read its information, and only do the linking right before jumping to the entrypoint. |
||
---|---|---|
.. | ||
Arch | ||
AuxiliaryVector.h | ||
CMakeLists.txt | ||
Core.h | ||
DynamicLinker.cpp | ||
DynamicLinker.h | ||
DynamicLoader.cpp | ||
DynamicLoader.h | ||
DynamicObject.cpp | ||
DynamicObject.h | ||
Hashes.h | ||
Image.cpp | ||
Image.h | ||
Relocation.cpp | ||
Relocation.h | ||
Validation.cpp | ||
Validation.h |