|
bool | elfLoadBinary (struct process *p, void *addr, uint32_t length) |
| Loads an ELF executable stored in the memory into a process. More...
|
|
The ELF loader allows to load statically linked, non relocatable executables from the memory into an (empty) process.
◆ elfLoadBinary()
bool elfLoadBinary |
( |
struct process * |
p, |
|
|
void * |
addr, |
|
|
uint32_t |
length |
|
) |
| |
Loads an ELF executable stored in the memory into a process.
- Parameters
-
p | The process into which the executable should be loaded |
addr | The address where the ELF file is in memory |
length | The length of the file in memory |
- Returns
- True, if successful or false otherwise
Definition at line 104 of file elf.c.