From 36d11a4443018ea98e37e19e1cce2d95345cb548 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Mon, 17 Jul 2023 10:55:24 +0200 Subject: Actually added execle wrapped function (for #850) --- 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 188d4c17..1530115e 100644 --- a/src/wrapped/generated/functions_list.txt +++ b/src/wrapped/generated/functions_list.txt @@ -3703,6 +3703,7 @@ wrappedlibc: - iFpV: - __isoc99_scanf - execl + - execle - execlp - printf - wprintf diff --git a/src/wrapped/generated/wrappedlibctypes.h b/src/wrapped/generated/wrappedlibctypes.h index 49457ed7..92bbdf7b 100644 --- a/src/wrapped/generated/wrappedlibctypes.h +++ b/src/wrapped/generated/wrappedlibctypes.h @@ -144,6 +144,7 @@ typedef int32_t (*iFppipppp_t)(void*, void*, int32_t, void*, void*, void*, void* GO(swapcontext, iFpp_t) \ GO(__isoc99_scanf, iFpV_t) \ GO(execl, iFpV_t) \ + GO(execle, iFpV_t) \ GO(execlp, iFpV_t) \ GO(printf, iFpV_t) \ GO(wprintf, iFpV_t) \ diff --git a/src/wrapped/wrappedlibc_private.h b/src/wrapped/wrappedlibc_private.h index 84cd9b40..bcef070d 100755 --- a/src/wrapped/wrappedlibc_private.h +++ b/src/wrapped/wrappedlibc_private.h @@ -294,7 +294,7 @@ GO(eventfd, iFui) GO(eventfd_read, iFip) GO(eventfd_write, iFiL) GOM(execl, iFEpV) // First argument is also part of the variadic -//GOM(execle, iFEpV) // First argument is also part of the variadic +GOM(execle, iFEpV) // First argument is also part of the variadic GOM(execlp, iFEpV) // First argument is also part of the variadic GOM(execv, iFEpp) GOWM(execve, iFEppp) -- cgit 1.4.1