IBNOS
Functions
ELF Binary Loader

Functions

bool elfLoadBinary (struct process *p, void *addr, uint32_t length)
 Loads an ELF executable stored in the memory into a process. More...
 

Detailed Description

The ELF loader allows to load statically linked, non relocatable executables from the memory into an (empty) process.

Function Documentation

◆ elfLoadBinary()

bool elfLoadBinary ( struct process p,
void *  addr,
uint32_t  length 
)

Loads an ELF executable stored in the memory into a process.

Parameters
pThe process into which the executable should be loaded
addrThe address where the ELF file is in memory
lengthThe length of the file in memory
Returns
True, if successful or false otherwise

Definition at line 104 of file elf.c.