attempts at reading an elf file

This commit is contained in:
2025-04-19 00:31:36 +03:00
parent e064818c9d
commit 69416bd25a
4 changed files with 214 additions and 190 deletions

View File

@@ -4,6 +4,9 @@
#include <libelf.h>
#include <gelf.h>
void *hi_elf_load_module(const char* filename);
void hi_elf_print_module_from_memory(void *address, size_t size);
const char *dyn_type_to_str(unsigned type);
const char *segment_type_to_str(unsigned type);