User Tools

Site Tools


elf_loader

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
elf_loader [2017/03/27 08:59]
admin created
elf_loader [2017/03/27 09:00] (current)
admin
Line 1: Line 1:
 =====ELF loader===== =====ELF loader=====
-//In short: Code to load and execute ELF-formatted files.//​\\\\+//In short: Code to load and execute ELF-formatted files.//\\ 
 +\\
 ELF (Executable and Linkable Format) is a versatile format for code storage, and an implementation of such a loader will vary depending on its purpose.\\ ELF (Executable and Linkable Format) is a versatile format for code storage, and an implementation of such a loader will vary depending on its purpose.\\
-To run programs you will need a loader for executable code, and as such your loader also needs to be able to set up the environment as described in the ELF headers. Generally this will be to initialize some memory and set up a stack.\\+To run programs you will need a loader for executable code, and as such your loader also needs to be able to set up the environment as described in the ELF headers. Generally this will be to initialize some memory and set up a stack, in addition to place the code correctly in memory and execute it at its entry point.\\
 When you move on to user space code, dynamic linking will most likely be required for all executable code as well. When you move on to user space code, dynamic linking will most likely be required for all executable code as well.
elf_loader.1490605159.txt.gz · Last modified: 2017/03/27 08:59 by admin