mallailua

This commit is contained in:
2025-04-21 11:29:08 +03:00
parent 69416bd25a
commit 26752683a1
12 changed files with 276 additions and 24 deletions

View File

@@ -1,10 +1,12 @@
#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(const char* filename);
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);