diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2021-03-02 11:45:50 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2021-03-02 11:45:50 +0100 |
| commit | 997b5c6b50b9263b06fb0a21dd6c2e727ce3e4a1 (patch) | |
| tree | bc488d342c0dc3827448de0c72b761d8e16727f5 /src/include/box64context.h | |
| parent | be92787329b59cf0f2202ca7623055372df0d90f (diff) | |
| download | box64-997b5c6b50b9263b06fb0a21dd6c2e727ce3e4a1.tar.gz box64-997b5c6b50b9263b06fb0a21dd6c2e727ce3e4a1.zip | |
Added some x86_64 regs and emu infrastructure
Diffstat (limited to 'src/include/box64context.h')
| -rwxr-xr-x | src/include/box64context.h | 7 |
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]; |