Notes on the “late binding” of Virtual Memory, etc.

When a DLL/shared object is loaded into process virtual memory, it competes for space with the process’ code and data, so its base address is knowable only at load-time. The DLL has metadata (“relocations”) describing the address references in its code, and the loader uses this metadata to go through all these references and patch … Continue reading Notes on the “late binding” of Virtual Memory,…