From 997b5c6b50b9263b06fb0a21dd6c2e727ce3e4a1 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Tue, 2 Mar 2021 11:45:50 +0100 Subject: Added some x86_64 regs and emu infrastructure --- src/include/box64context.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/include/box64context.h') 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]; -- cgit 1.4.1