From 02161dc4d761cf209095b614534db908a140384a Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Wed, 10 Mar 2021 18:02:21 +0100 Subject: Better functions name resolving when using TRACE, and fixed some printf stuff again --- src/box64context.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/box64context.c') diff --git a/src/box64context.c b/src/box64context.c index ed33a2fa..91aa4fbc 100755 --- a/src/box64context.c +++ b/src/box64context.c @@ -27,6 +27,7 @@ void initAllHelpers(box64context_t* context) return; my_context = context; init_pthread_helper(); + init_bridge_helper(); init_signal_helper(context); inited = 1; } @@ -39,7 +40,7 @@ void finiAllHelpers(box64context_t* context) return; fini_pthread_helper(context); fini_signal_helper(); - cleanAlternate(); + fini_bridge_helper(); fini_custommem_helper(context); finied = 1; } @@ -88,7 +89,7 @@ box64context_t *NewBox64Context(int argc) context->local_maplib = NewLibrarian(context, 1); context->system = NewBridge(); // create vsyscall - context->vsyscall = AddBridge(context->system, vFv, x64Syscall, 0); + context->vsyscall = AddBridge(context->system, vFv, x64Syscall, 0, NULL); context->box64lib = dlopen(NULL, RTLD_NOW|RTLD_GLOBAL); context->dlprivate = NewDLPrivate(); -- cgit 1.4.1