From 2ac2996abd54cdb36624738b7ca30a9abc93a78a Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Tue, 10 Aug 2021 15:32:08 +0200 Subject: Added vfork wrapped function --- src/wrapped/generated/functions_list.txt | 1 + src/wrapped/generated/wrappedlibctypes.h | 1 + src/wrapped/wrappedlibc_private.h | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/wrapped/generated/functions_list.txt b/src/wrapped/generated/functions_list.txt index f2fd349a..308fd4eb 100644 --- a/src/wrapped/generated/functions_list.txt +++ b/src/wrapped/generated/functions_list.txt @@ -1639,6 +1639,7 @@ wrappedlibc: - __cxa_finalize - iFv: - fork + - vfork - iFp: - _setjmp - getcontext diff --git a/src/wrapped/generated/wrappedlibctypes.h b/src/wrapped/generated/wrappedlibctypes.h index de2666ab..78962777 100644 --- a/src/wrapped/generated/wrappedlibctypes.h +++ b/src/wrapped/generated/wrappedlibctypes.h @@ -80,6 +80,7 @@ typedef int64_t (*iFpippppp_t)(void*, int64_t, void*, void*, void*, void*, void* GO(_ITM_deregisterTMCloneTable, vFp_t) \ GO(__cxa_finalize, vFp_t) \ GO(fork, iFv_t) \ + GO(vfork, iFv_t) \ GO(_setjmp, iFp_t) \ GO(getcontext, iFp_t) \ GO(setcontext, iFp_t) \ diff --git a/src/wrapped/wrappedlibc_private.h b/src/wrapped/wrappedlibc_private.h index 515532d1..aa2611d6 100755 --- a/src/wrapped/wrappedlibc_private.h +++ b/src/wrapped/wrappedlibc_private.h @@ -2041,7 +2041,7 @@ GOM(__vasprintf_chk, iFEpipp) GOW(versionsort, iFpp) GOW(versionsort64, iFpp) //GO(__vfork, -//GOW(vfork, iFv) +GOWM(vfork, iFEv) GOM(vfprintf, iFEppA) GOM(__vfprintf_chk, iFEpvpp) //GO(__vfscanf, -- cgit 1.4.1