From 5debac4c98c1c5c262f5cae3f0cdee8527ef06a6 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Fri, 8 Mar 2024 18:16:36 +0100 Subject: Change wrapping of _exit to just exit immediatly as expected --- src/wrapped/generated/functions_list.txt | 1 - src/wrapped/generated/wrappedlibctypes.h | 1 - src/wrapped/wrappedlibc_private.h | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) (limited to 'src') diff --git a/src/wrapped/generated/functions_list.txt b/src/wrapped/generated/functions_list.txt index ae47954f..055e261b 100644 --- a/src/wrapped/generated/functions_list.txt +++ b/src/wrapped/generated/functions_list.txt @@ -4046,7 +4046,6 @@ wrappedlibc: - __cxa_pure_virtual - __stack_chk_fail - vFi: - - _exit - exit - vFp: - _ITM_deregisterTMCloneTable diff --git a/src/wrapped/generated/wrappedlibctypes.h b/src/wrapped/generated/wrappedlibctypes.h index a7a31670..098ed02d 100644 --- a/src/wrapped/generated/wrappedlibctypes.h +++ b/src/wrapped/generated/wrappedlibctypes.h @@ -100,7 +100,6 @@ typedef int32_t (*iFppipppp_t)(void*, void*, int32_t, void*, void*, void*, void* GO(_Jv_RegisterClasses, vFv_t) \ GO(__cxa_pure_virtual, vFv_t) \ GO(__stack_chk_fail, vFv_t) \ - GO(_exit, vFi_t) \ GO(exit, vFi_t) \ GO(_ITM_deregisterTMCloneTable, vFp_t) \ GO(__cxa_finalize, vFp_t) \ diff --git a/src/wrapped/wrappedlibc_private.h b/src/wrapped/wrappedlibc_private.h index 893515ea..e47216eb 100644 --- a/src/wrapped/wrappedlibc_private.h +++ b/src/wrapped/wrappedlibc_private.h @@ -321,7 +321,7 @@ GOM(execv, iFEpp) GOM(execve, iFEppp) GOM(execvp, iFEpp) GOW(execvpe, iFppp) -GOM(_exit, vFEi) +GO(_exit, vFi) // immediate exit GOM(exit, vFEi) GOW(_Exit, vFi) GO(explicit_bzero, vFpL) -- cgit 1.4.1