From 26201d7e705714cd8ecca3fa28f51e819f9eb520 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Tue, 2 Mar 2021 10:47:22 +0100 Subject: More elf loader and parsing and stack preparing --- src/include/box64stack.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 src/include/box64stack.h (limited to 'src/include/box64stack.h') diff --git a/src/include/box64stack.h b/src/include/box64stack.h new file mode 100755 index 00000000..a6b00fea --- /dev/null +++ b/src/include/box64stack.h @@ -0,0 +1,17 @@ +#ifndef __BOX64_STACK_H_ +#define __BOX64_STACK_H_ + +#include + +typedef struct box64context_s box64context_t; +//typedef struct x64emu_s x64emu_t; + +int CalcStackSize(box64context_t *context); +//void SetupInitialStack(x64emu_t *emu); + +//uint16_t Pop16(x64emu_t *emu); +//void Push16(x64emu_t *emu, uint16_t v); +//uint32_t Pop32(x64emu_t *emu); +//void Push32(x64emu_t *emu, uint32_t v); + +#endif //__BOX64_STACK_H_ \ No newline at end of file -- cgit 1.4.1