about summary refs log tree commit diff stats
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rwxr-xr-xsrc/include/box64context.h2
-rwxr-xr-xsrc/include/elfloader.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/include/box64context.h b/src/include/box64context.h
index ecb00c3e..9d660664 100755
--- a/src/include/box64context.h
+++ b/src/include/box64context.h
@@ -188,6 +188,8 @@ typedef struct box64context_s {
     x64emu_t            *emu_sig;       // the emu with stack used for signal handling (must be separated from main ones)
     int                 no_sigsegv;
     int                 no_sigill;
+    void*               stack_clone;
+    int                 stack_clone_used;
 
 } box64context_t;
 
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