blob: 825f765508eea1936f2c6ba9047e476805b8b4af (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#pragma once
#include <bits/file.h>
struct execdata {
int argc;
char **argv, **envp;
char *cwd;
};
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
|