about summary refs log tree commit diff stats
path: root/src/include/box64context.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/box64context.h')
-rwxr-xr-xsrc/include/box64context.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/include/box64context.h b/src/include/box64context.h
index 3ee5f927..8f5738f5 100755
--- a/src/include/box64context.h
+++ b/src/include/box64context.h
@@ -5,6 +5,7 @@
 #include "pathcoll.h"
 
 typedef struct elfheader_s elfheader_t;
+typedef struct cleanup_s cleanup_t;
 
 typedef void* (*procaddess_t)(const char* name);
 typedef void* (*vkprocaddess_t)(void* instance, const char* name);
@@ -55,6 +56,12 @@ typedef struct box64context_s {
     void*               tlsdata;    // the initial global tlsdata
     int32_t             tlssize;    // wanted size of tlsdata
 
+    uintptr_t           *auxval_start;
+
+    cleanup_t   *cleanups;          // atexit functions
+    int         clean_sz;
+    int         clean_cap;
+
     //zydis_dec_t         *dec;           // trace
 
     uint8_t             canary[4];