Skip to main content

Module load

Module load 

Source
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