From 1f4cc1cf884e0c7befdfea601def2291e54459be Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Wed, 10 May 2023 17:21:14 +0200 Subject: Optimized Exit bridge managment --- src/include/box64context.h | 1 + src/include/x64emu.h | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'src/include') diff --git a/src/include/box64context.h b/src/include/box64context.h index bda5bf23..fb09c004 100755 --- a/src/include/box64context.h +++ b/src/include/box64context.h @@ -118,6 +118,7 @@ typedef struct box64context_s { kh_threadstack_t *stacksizes; // stack sizes attributes for thread (temporary) bridge_t *system; // other bridges + uintptr_t exit_bridge; // exit bridge value uintptr_t vsyscall; // vsyscall bridge value uintptr_t vsyscalls[3]; // the 3 x86 VSyscall pseudo bridges (mapped at 0xffffffffff600000+) dlprivate_t *dlprivate; // dlopen library map diff --git a/src/include/x64emu.h b/src/include/x64emu.h index d242925a..a1e03f6e 100755 --- a/src/include/x64emu.h +++ b/src/include/x64emu.h @@ -44,8 +44,6 @@ void ResetSegmentsCache(x64emu_t *emu); const char* DumpCPURegs(x64emu_t* emu, uintptr_t ip); void StopEmu(x64emu_t* emu, const char* reason); -void PushExit(x64emu_t* emu); -void* GetExit(); void EmuCall(x64emu_t* emu, uintptr_t addr); void AddCleanup(x64emu_t *emu, void *p, void* dso_handle); void AddCleanup1Arg(x64emu_t *emu, void *p, void* a, void* dso_handle); -- cgit 1.4.1