Files
hiload/src/moduler/elf.h
2025-04-21 11:29:08 +03:00

16 lines
367 B
C

#ifndef ELF_H_
#define ELF_H_
// TODO: Move these into .c file after API has found its form
#include <elf.h>
#include <libelf.h>
#include <gelf.h>
void *hi_elf_load_module(void *address, size_t n);
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);
#endif