about summary refs log tree commit diff stats
path: root/src/include/elfloader.h
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2021-03-01 18:02:26 +0100
committerptitSeb <sebastien.chev@gmail.com>2021-03-01 18:02:26 +0100
commita2a78a4edc2e82756d83daf8bbbe2ca26102af47 (patch)
tree5010536c8adda635f138ecb55da6c5e1b813b8e0 /src/include/elfloader.h
parent4079491d5e003c424f1bfa2a3f682185cd0c54a7 (diff)
downloadbox64-a2a78a4edc2e82756d83daf8bbbe2ca26102af47.tar.gz
box64-a2a78a4edc2e82756d83daf8bbbe2ca26102af47.zip
Load elf in memory
Diffstat (limited to 'src/include/elfloader.h')
-rwxr-xr-xsrc/include/elfloader.h4
1 files changed, 2 insertions, 2 deletions
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);