diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2021-03-10 18:02:21 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2021-03-10 18:02:21 +0100 |
| commit | 02161dc4d761cf209095b614534db908a140384a (patch) | |
| tree | 5c1684fba444768e3a5ac528474529e69e03d18f /src/box64context.c | |
| parent | a62f6860247b57b3a27500cd88c9d42e388a782b (diff) | |
| download | box64-02161dc4d761cf209095b614534db908a140384a.tar.gz box64-02161dc4d761cf209095b614534db908a140384a.zip | |
Better functions name resolving when using TRACE, and fixed some printf stuff again
Diffstat (limited to 'src/box64context.c')
| -rwxr-xr-x | src/box64context.c | 5 |
1 files changed, 3 insertions, 2 deletions
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(); |