about summary refs log tree commit diff stats
path: root/src/include/elfloader.h
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2022-03-01 23:39:01 +0100
committerptitSeb <sebastien.chev@gmail.com>2022-03-01 23:39:01 +0100
commit8b1f55aff0201549279684dc3f1d59f42a8fb0d4 (patch)
tree2c4480443e86913bd870fff033865dc2e8e38a49 /src/include/elfloader.h
parentb00764d658fbf3a9068a57cfe1fe41e2283ad5cb (diff)
downloadbox64-8b1f55aff0201549279684dc3f1d59f42a8fb0d4.tar.gz
box64-8b1f55aff0201549279684dc3f1d59f42a8fb0d4.zip
More work on readlinkat and clone syscall
Diffstat (limited to 'src/include/elfloader.h')
-rwxr-xr-xsrc/include/elfloader.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/elfloader.h b/src/include/elfloader.h
index c1b4ce89..4e06546b 100755
--- a/src/include/elfloader.h
+++ b/src/include/elfloader.h
@@ -16,6 +16,7 @@ typedef struct dynablocklist_s dynablocklist_t;
 elfheader_t* LoadAndCheckElfHeader(FILE* f, const char* name, int exec); // exec : 0 = lib, 1 = exec
 void FreeElfHeader(elfheader_t** head);
 const char* ElfName(elfheader_t* head);
+const char* ElfPath(elfheader_t* head);
 void ElfAttachLib(elfheader_t* head, library_t* lib);
 
 // return 0 if OK
@@ -52,6 +53,7 @@ dynablocklist_t* GetDynablocksFromElf(elfheader_t* h);
 #endif
 void ResetSpecialCaseMainElf(elfheader_t* h);
 void CreateMemorymapFile(box64context_t* context, int fd);
+void* GetDynamicSection(elfheader_t* h);
 
 int ElfCheckIfUseTCMallocMinimal(elfheader_t* h);   // return 1 if tcmalloc is used