From a2a78a4edc2e82756d83daf8bbbe2ca26102af47 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Mon, 1 Mar 2021 18:02:26 +0100 Subject: Load elf in memory --- src/include/elfloader.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/include') diff --git a/src/include/elfloader.h b/src/include/elfloader.h index 56a51c51..d8caa27b 100755 --- a/src/include/elfloader.h +++ b/src/include/elfloader.h @@ -22,8 +22,8 @@ const char* ElfName(elfheader_t* head); int CalcLoadAddr(elfheader_t* head); int AllocElfMemory(box64context_t* context, elfheader_t* head, int mainbin); void FreeElfMemory(elfheader_t* head); -//int LoadElfMemory(FILE* f, box64context_t* context, elfheader_t* head); -//int ReloadElfMemory(FILE* f, box64context_t* context, elfheader_t* head); +int LoadElfMemory(FILE* f, box64context_t* context, elfheader_t* head); +int ReloadElfMemory(FILE* f, box64context_t* context, elfheader_t* head); //int RelocateElf(lib_t *maplib, lib_t* local_maplib, elfheader_t* head); //int RelocateElfPlt(lib_t *maplib, lib_t* local_maplib, elfheader_t* head); //void CalcStack(elfheader_t* h, uint32_t* stacksz, int* stackalign); -- cgit 1.4.1