diff options
| author | 2026-08-18 12:15:05 +0200 | |
|---|---|---|
| committer | 2026-08-18 12:15:05 +0200 | |
| commit | 132d3236bb884433bf94e961f6d32264e0334aec (patch) | |
| tree | 06638976b06f019ea4037175ff228f8271057c44 /misc-host/ELF/ELF-loader-test/main.cpp | |
Diffstat (limited to '')
| -rw-r--r-- | misc-host/ELF/ELF-loader-test/main.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/misc-host/ELF/ELF-loader-test/main.cpp b/misc-host/ELF/ELF-loader-test/main.cpp new file mode 100644 index 0000000..30b44bf --- /dev/null +++ b/misc-host/ELF/ELF-loader-test/main.cpp @@ -0,0 +1,12 @@ +#include <stdio.h> +#include "bootloader_compat.h" +#include "elfinfoprint.h" + +int main(void) +{ + void * kernel = LoadFile("kernel.bin", 0); + + ElfInfoPrint((Elf64_Ehdr *)kernel); + return 0; +} + |
