diff --git a/src/wrapped/generated/functions_list.txt b/src/wrapped/generated/functions_list.txt index 131a5cb6..5267dd57 100644 --- a/src/wrapped/generated/functions_list.txt +++ b/src/wrapped/generated/functions_list.txt @@ -2822,8 +2822,10 @@ wrappedlibc: - iFpp: - execvp - lstat + - lstat64 - scanf - stat + - stat64 - iFpV: - execl - execle diff --git a/src/wrapped/generated/wrappedlibctypes.h b/src/wrapped/generated/wrappedlibctypes.h index ca1a6d5b..441c51f1 100644 --- a/src/wrapped/generated/wrappedlibctypes.h +++ b/src/wrapped/generated/wrappedlibctypes.h @@ -126,8 +126,10 @@ typedef int32_t (*iFpLiLppp_t)(void*, uintptr_t, int32_t, uintptr_t, void*, void GO(fstat, iFip_t) \ GO(execvp, iFpp_t) \ GO(lstat, iFpp_t) \ + GO(lstat64, iFpp_t) \ GO(scanf, iFpp_t) \ GO(stat, iFpp_t) \ + GO(stat64, iFpp_t) \ GO(execl, iFpV_t) \ GO(execle, iFpV_t) \ GO(execlp, iFpV_t) \ diff --git a/src/wrapped/wrappedlibc_private.h b/src/wrapped/wrappedlibc_private.h index 5a147fc8..06f7c7a8 100755 --- a/src/wrapped/wrappedlibc_private.h +++ b/src/wrapped/wrappedlibc_private.h @@ -1637,8 +1637,8 @@ GO2(sscanf, iFppV, vsscanf) // sscanf va_list is only pointer, no realign to // ssignal // Weak // sstk GOM(__stack_chk_fail, vFEv) //%% -GOM(lstat64, iFpp) //%%,noE -GOM(stat64, iFpp) //%%,noE +GOM(lstat64, iFEpp) +GOM(stat64, iFEpp) GOW(statfs, iFpp) // __statfs GOWM(statfs64, iFpp) //%%,noE diff --git a/tests/bash b/tests/bash new file mode 100755 index 00000000..bad714a1 Binary files /dev/null and b/tests/bash differ