elf: add basic elf parsing

This commit is contained in:
Michael Shaw 2023-11-15 12:50:46 -05:00
commit a85be6eb62
6 changed files with 189 additions and 2 deletions

View file

@ -12,6 +12,7 @@ static const char *errno_str[] = {
[EISDIR] = "Is a directory",
[ENOSPC] = "No space left on device",
[EEXIST] = "File exists",
[ENOEXEC] = "Exec format error",
};
inline const char *strerror(int errnum)