From 9f4eb36c99723f20e203bda0db07005284ae2eba Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Fri, 4 Oct 2024 12:28:11 +0200 Subject: [BOX32][WRAPPER] More wrapped function to libc, and many fixes some existing ones --- src/wrapped32/generated/functions_list.txt | 1 + src/wrapped32/generated/wrappedlibctypes32.h | 1 + src/wrapped32/wrappedlibc_private.h | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src/wrapped32') diff --git a/src/wrapped32/generated/functions_list.txt b/src/wrapped32/generated/functions_list.txt index 6700f69c..e6e8a22d 100644 --- a/src/wrapped32/generated/functions_list.txt +++ b/src/wrapped32/generated/functions_list.txt @@ -1272,6 +1272,7 @@ wrappedlibc: - pFpi: - backtrace_symbols - pFpp: + - __cmsg_nxthdr - gmtime_r - localtime_r - SFpp: diff --git a/src/wrapped32/generated/wrappedlibctypes32.h b/src/wrapped32/generated/wrappedlibctypes32.h index aa83e060..c712c92d 100644 --- a/src/wrapped32/generated/wrappedlibctypes32.h +++ b/src/wrapped32/generated/wrappedlibctypes32.h @@ -140,6 +140,7 @@ typedef int32_t (*iFpLiLppp_t)(void*, uintptr_t, int32_t, uintptr_t, void*, void GO(execlp, iFpV_t) \ GO(signal, pFip_t) \ GO(backtrace_symbols, pFpi_t) \ + GO(__cmsg_nxthdr, pFpp_t) \ GO(gmtime_r, pFpp_t) \ GO(localtime_r, pFpp_t) \ GO(_ITM_addUserCommitAction, vFpup_t) \ diff --git a/src/wrapped32/wrappedlibc_private.h b/src/wrapped32/wrappedlibc_private.h index 09debe09..25aaa4c4 100755 --- a/src/wrapped32/wrappedlibc_private.h +++ b/src/wrapped32/wrappedlibc_private.h @@ -162,7 +162,7 @@ GOW(close, iFi) // __close // Weak GOW(closedir, iFp) GO(closelog, vFv) -//GO(__cmsg_nxthdr, pFpp) +GOM(__cmsg_nxthdr, pFpp) //%noE //GO(confstr, uFipu) // __confstr_chk GOW(connect, iFipu) -- cgit 1.4.1