Is there an open source program for Windows that offers the same functionality as Linux' /lib/ld‑linux.so.2
?
The loader is a core part of the OS on Windows; there's no open-source alternative I'm aware of, and I'm not sure it'd be possible to do it correctly in any case - you have to handle the minefield of assumptions that kernel32/ntdll have regarding address space layout, support SxS, ASLR, hotpatching, and more.
Open-source linkers are common (e.g., gnu tools), but I gather that's not what you're after.
You might want to look at the ReactOS project.
They should have everything to load DLLs, and it is open-source.
The Enhanced Dynamic Linking Library for MinGW under MS-Windows may be helpful. Take a look especially at the bottom for the edll solution.
You mean using dynamic libraries? In Windows that's automatic when you use LoadLibrary
on a .DLL.
LoadLibrary
), but I would like to know if there is an open source dynamic linker for Windows, one that I could modify. –
Metamerism ilmerge.exe
for the .NET framework-generated .DLL's. –
Whimsy © 2022 - 2024 — McMap. All rights reserved.