diff options
author | dzwdz | 2022-07-18 14:01:21 +0200 |
---|---|---|
committer | dzwdz | 2022-07-18 14:01:21 +0200 |
commit | d43c1af88b1834a00f8b5f09aa0af1a5e4f5b4aa (patch) | |
tree | 7743cd9eb761dee12711cf719ab846228a888dbd /src/user/lib/elfload.h | |
parent | 620bd6af8e005057e04c8a2891c7537ec3556345 (diff) |
user: a super primitive ELF loader
holy shit.
this was simpler than i expected it to be
Diffstat (limited to 'src/user/lib/elfload.h')
-rw-r--r-- | src/user/lib/elfload.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/user/lib/elfload.h b/src/user/lib/elfload.h new file mode 100644 index 0000000..c6afbdd --- /dev/null +++ b/src/user/lib/elfload.h @@ -0,0 +1,5 @@ +#pragma once +#include <user/lib/stdlib.h> + +void elf_execf(libc_file *f); +void elf_exec(void *elf); |