mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 05:07:35 +00:00
Kernel+LibELF: Add support for validating and loading ELF64 executables
This commit is contained in:
parent
e35b060501
commit
158355e0d7
13 changed files with 109 additions and 78 deletions
|
@ -38,6 +38,12 @@
|
|||
# include <AK/Types.h>
|
||||
#endif
|
||||
|
||||
#ifdef __LP64__
|
||||
# define ElfW(type) Elf64_##type
|
||||
#else
|
||||
# define ElfW(type) Elf32_##type
|
||||
#endif
|
||||
|
||||
typedef uint8_t Elf_Byte;
|
||||
|
||||
typedef uint32_t Elf32_Addr; /* Unsigned program address */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue