summaryrefslogtreecommitdiff
path: root/src/user/lib/elfload.h
blob: 283efd8c2faeb12a40424ddb997d59dafc161a2b (plain)
1
2
3
4
5
6
7
8
#pragma once
#include <bits/file.h>

void elf_execf(FILE *f, char **argv, char **envp);
void elf_exec(void *base, char **argv, char **envp);
void *elf_partialexec(void *elf); /* returns pointer to entry point */

void elf_selfreloc(void); // elfreloc.c