diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2021-07-12 10:52:21 -0500 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2021-07-12 10:52:21 -0500 |
| commit | 77421d2eed152ed2d1481aa77999d015444937c9 (patch) | |
| tree | 785247dddff6e7a4fd7d37e739894ed7028b5757 /src/wrapped/generated | |
| parent | 78b9b0cec8ad87e4ac982465a9270e570d146e4f (diff) | |
| download | box64-77421d2eed152ed2d1481aa77999d015444937c9.tar.gz box64-77421d2eed152ed2d1481aa77999d015444937c9.zip | |
Added a bunch of wrapped libc function (for #41)
Diffstat (limited to 'src/wrapped/generated')
| -rw-r--r-- | src/wrapped/generated/functions_list.txt | 7 | ||||
| -rw-r--r-- | src/wrapped/generated/wrappedlibctypes.h | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/src/wrapped/generated/functions_list.txt b/src/wrapped/generated/functions_list.txt index e453eb35..18f0e19c 100644 --- a/src/wrapped/generated/functions_list.txt +++ b/src/wrapped/generated/functions_list.txt @@ -1521,6 +1521,9 @@ wrappedlibc: - siglongjmp - vFpu: - _ITM_registerTMCloneTable +- vFpV: + - warn + - warnx - iFpi: - __sigsetjmp - backtrace @@ -1555,6 +1558,7 @@ wrappedlibc: - vFipp: - vsyslog - vFipV: + - err - syslog - vFpii: - backtrace_symbols_fd @@ -1576,6 +1580,7 @@ wrappedlibc: - sigaction - iFipV: - __printf_chk + - errx - iFpLi: - mprotect - iFppi: @@ -1591,6 +1596,7 @@ wrappedlibc: - execve - vasprintf - vfprintf + - vfscanf - vsscanf - iFppV: - __asprintf @@ -1624,6 +1630,7 @@ wrappedlibc: - glob - glob64 - iFpipV: + - __asprintf_chk - __fprintf_chk - iFpLpp: - __vsnprintf diff --git a/src/wrapped/generated/wrappedlibctypes.h b/src/wrapped/generated/wrappedlibctypes.h index 3ac1150d..0a9a7bf9 100644 --- a/src/wrapped/generated/wrappedlibctypes.h +++ b/src/wrapped/generated/wrappedlibctypes.h @@ -19,6 +19,7 @@ typedef uintptr_t (*LFv_t)(void); typedef uintptr_t (*LFL_t)(uintptr_t); typedef void (*vFpi_t)(void*, int64_t); typedef void (*vFpu_t)(void*, uint64_t); +typedef void (*vFpV_t)(void*, void*); typedef int64_t (*iFpi_t)(void*, int64_t); typedef int64_t (*iFpL_t)(void*, uintptr_t); typedef int64_t (*iFpp_t)(void*, void*); @@ -80,6 +81,8 @@ typedef int64_t (*iFpippppp_t)(void*, int64_t, void*, void*, void*, void*, void* GO(longjmp, vFpi_t) \ GO(siglongjmp, vFpi_t) \ GO(_ITM_registerTMCloneTable, vFpu_t) \ + GO(warn, vFpV_t) \ + GO(warnx, vFpV_t) \ GO(__sigsetjmp, iFpi_t) \ GO(backtrace, iFpi_t) \ GO(munmap, iFpL_t) \ @@ -104,6 +107,7 @@ typedef int64_t (*iFpippppp_t)(void*, int64_t, void*, void*, void*, void*, void* GO(fopen64, pFpp_t) \ GO(realpath, pFpp_t) \ GO(vsyslog, vFipp_t) \ + GO(err, vFipV_t) \ GO(syslog, vFipV_t) \ GO(backtrace_symbols_fd, vFpii_t) \ GO(_ITM_addUserCommitAction, vFpup_t) \ @@ -119,6 +123,7 @@ typedef int64_t (*iFpippppp_t)(void*, int64_t, void*, void*, void*, void*, void* GO(__xstat64, iFipp_t) \ GO(sigaction, iFipp_t) \ GO(__printf_chk, iFipV_t) \ + GO(errx, iFipV_t) \ GO(mprotect, iFpLi_t) \ GO(ftw, iFppi_t) \ GO(ftw64, iFppi_t) \ @@ -131,6 +136,7 @@ typedef int64_t (*iFpippppp_t)(void*, int64_t, void*, void*, void*, void*, void* GO(execve, iFppp_t) \ GO(vasprintf, iFppp_t) \ GO(vfprintf, iFppp_t) \ + GO(vfscanf, iFppp_t) \ GO(vsscanf, iFppp_t) \ GO(__asprintf, iFppV_t) \ GO(__isoc99_fscanf, iFppV_t) \ @@ -154,6 +160,7 @@ typedef int64_t (*iFpippppp_t)(void*, int64_t, void*, void*, void*, void*, void* GO(__vasprintf_chk, iFpipp_t) \ GO(glob, iFpipp_t) \ GO(glob64, iFpipp_t) \ + GO(__asprintf_chk, iFpipV_t) \ GO(__fprintf_chk, iFpipV_t) \ GO(__vsnprintf, iFpLpp_t) \ GO(__vsnprintf_chk, iFpLpp_t) \ |