16 lines
367 B
C
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
|