Expand description
ELF loading logic
Authors: MarioS271
Functions§
- copy_
segment_ 🔒 ⚠data - Copies an ELF segment into the process’s address space
- map_
phdrs_ and_ copy_ elf - Map VMAs and pages according to the ELF phdrs and copy the ELF binary into the freshly mapped memory
- setup_
user_ stack - Set up a stack for the user process