diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2024-09-10 15:09:38 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2024-09-10 15:09:45 +0200 |
| commit | 0443edc03481221ab2ebe100319ab23dc193150f (patch) | |
| tree | 094fad5ae4627d74d0b330d2116d33af2c47c67b /src | |
| parent | a7f8dbac565694ecbb8962bc4cc1e6b40ca67c48 (diff) | |
| download | box64-0443edc03481221ab2ebe100319ab23dc193150f.tar.gz box64-0443edc03481221ab2ebe100319ab23dc193150f.zip | |
[BOX32] Fixed wrapping 32bits version of __cxa_finalize
Diffstat (limited to 'src')
| -rwxr-xr-x | src/wrapped32/wrappedlibc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wrapped32/wrappedlibc.c b/src/wrapped32/wrappedlibc.c index f3153674..e5be378c 100755 --- a/src/wrapped32/wrappedlibc.c +++ b/src/wrapped32/wrappedlibc.c @@ -493,7 +493,7 @@ void EXPORT my32___cxa_finalize(x64emu_t* emu, void* p) CallAllCleanup(emu); return; } - CallCleanup(emu, p); + CallCleanup(emu, FindElfAddress(my_context, (uintptr_t)p)); } int EXPORT my32_atexit(x64emu_t* emu, void *p) { |