diff options
Diffstat (limited to 'source/elf_load.hpp')
-rw-r--r-- | source/elf_load.hpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source/elf_load.hpp b/source/elf_load.hpp index 722b19b..3e03f1d 100644 --- a/source/elf_load.hpp +++ b/source/elf_load.hpp @@ -1,11 +1,14 @@ #ifndef ELF_LOAD_HPP_ #define ELF_LOAD_HPP_ +#include <cstddef> +#include <cstdint> + namespace elf { - using entry_t = void (*)(); + using entry_t = void (*)(uint16_t *, size_t); - entry_t load(void *file_data); + entry_t load(void *elf_data, void *elf_load_offset); } #endif // ELF_LOAD_HPP_ |