about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/wrapped/generated/functions_list.txt5
-rw-r--r--src/wrapped/generated/wrappedlibctypes.h5
-rw-r--r--src/wrapped/wrappedlibc.c1
-rw-r--r--src/wrapped/wrappedlibc_private.h6
4 files changed, 10 insertions, 7 deletions
diff --git a/src/wrapped/generated/functions_list.txt b/src/wrapped/generated/functions_list.txt
index 8c95c072..69206133 100644
--- a/src/wrapped/generated/functions_list.txt
+++ b/src/wrapped/generated/functions_list.txt
@@ -4054,8 +4054,6 @@ wrappedlibc:
 - iFppp:
   - __cxa_atexit
   - __cxa_thread_atexit_impl
-  - __isoc99_vfscanf
-  - __isoc99_vsscanf
   - __vfprintf_chk
   - __vsscanf
   - execve
@@ -4077,6 +4075,9 @@ wrappedlibc:
   - sscanf
   - swscanf
 - iFppA:
+  - __isoc99_vfscanf
+  - __isoc99_vsscanf
+  - __isoc99_vswscanf
   - obstack_vprintf
   - vasprintf
   - vfprintf
diff --git a/src/wrapped/generated/wrappedlibctypes.h b/src/wrapped/generated/wrappedlibctypes.h
index 4110d5ca..bd36a4b3 100644
--- a/src/wrapped/generated/wrappedlibctypes.h
+++ b/src/wrapped/generated/wrappedlibctypes.h
@@ -250,8 +250,6 @@ typedef int32_t (*iFppipppp_t)(void*, void*, int32_t, void*, void*, void*, void*
 	GO(pthread_attr_setstack, iFppL_t) \
 	GO(__cxa_atexit, iFppp_t) \
 	GO(__cxa_thread_atexit_impl, iFppp_t) \
-	GO(__isoc99_vfscanf, iFppp_t) \
-	GO(__isoc99_vsscanf, iFppp_t) \
 	GO(__vfprintf_chk, iFppp_t) \
 	GO(__vsscanf, iFppp_t) \
 	GO(execve, iFppp_t) \
@@ -271,6 +269,9 @@ typedef int32_t (*iFppipppp_t)(void*, void*, int32_t, void*, void*, void*, void*
 	GO(sprintf, iFppV_t) \
 	GO(sscanf, iFppV_t) \
 	GO(swscanf, iFppV_t) \
+	GO(__isoc99_vfscanf, iFppA_t) \
+	GO(__isoc99_vsscanf, iFppA_t) \
+	GO(__isoc99_vswscanf, iFppA_t) \
 	GO(obstack_vprintf, iFppA_t) \
 	GO(vasprintf, iFppA_t) \
 	GO(vfprintf, iFppA_t) \
diff --git a/src/wrapped/wrappedlibc.c b/src/wrapped/wrappedlibc.c
index 61819a7f..f3df5ad2 100644
--- a/src/wrapped/wrappedlibc.c
+++ b/src/wrapped/wrappedlibc.c
@@ -903,6 +903,7 @@ EXPORT int my_sscanf(x64emu_t* emu, void* stream, void* fmt, uint64_t* b)
 }
 EXPORT int my__IO_vfscanf(x64emu_t* emu, void* stream, void* fmt, void* b) __attribute__((alias("my_vfscanf")));
 EXPORT int my___isoc99_vsscanf(x64emu_t* emu, void* stream, void* fmt, void* b) __attribute__((alias("my_vsscanf")));
+EXPORT int my___isoc99_vswscanf(x64emu_t* emu, void* stream, void* fmt, void* b) __attribute__((alias("my_vswscanf")));
 EXPORT int my___isoc99_vfscanf(x64emu_t* emu, void* stream, void* fmt, void* b) __attribute__((alias("my_vfscanf")));
 
 EXPORT int my___isoc99_fscanf(x64emu_t* emu, void* stream, void* fmt, uint64_t* b)
diff --git a/src/wrapped/wrappedlibc_private.h b/src/wrapped/wrappedlibc_private.h
index 67ea584a..ee855e42 100644
--- a/src/wrapped/wrappedlibc_private.h
+++ b/src/wrapped/wrappedlibc_private.h
@@ -933,11 +933,11 @@ GOM(__isoc99_fscanf, iFEppV)
 GOM(__isoc99_scanf, iFEpV)
 GOM(__isoc99_sscanf, iFEppV)
 GOM(__isoc99_swscanf, iFEppV)
-GOM(__isoc99_vfscanf, iFEppp)
+GOM(__isoc99_vfscanf, iFEppA)
 //GO(__isoc99_vfwscanf, iFppA)
 //GO(__isoc99_vscanf, iFpA)
-GOM(__isoc99_vsscanf, iFEppp)
-//GO(__isoc99_vswscanf, iFppA)
+GOM(__isoc99_vsscanf, iFEppA)
+GOM(__isoc99_vswscanf, iFEppA)
 //GO(__isoc99_vwscanf, iFpA)
 //GO(__isoc99_wscanf, iFpV)
 GO(isprint, iFi)