Execution Loader

From OSDev.wiki
Revision as of 23:59, 9 September 2018 by osdev>Carver (stub moveup)
Jump to navigation Jump to search
This page is a stub.
You can help the wiki by accurately adding more contents to it.

An Execution Loader or program loader is a program or operating system service which parses an executable Object File and loads (or maps) the executable section into memory. It may have additional functions as well, such as:

  • Determining if there is a copy of the program already loaded or mapped into memory, and mapping the executable section of the process to share the existing memory footprint;
  • Editing the executable image to patch addresses into the code, either to allow relocation, or to map external references to shared (dynamic) libraries,
  • Loading shared libraries into memory, and caching them to avoid reloading.