about summary refs log tree commit diff stats
path: root/src/wrapped/generated/wrappedlibctypes.h
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2023-07-22 20:45:16 +0200
committerptitSeb <sebastien.chev@gmail.com>2023-07-22 20:45:16 +0200
commit67c9378fb8568b6104979e158ed690e4c6d3bc04 (patch)
tree883eb19b91fb4fa22ca01724ad0408cc8c72af1b /src/wrapped/generated/wrappedlibctypes.h
parent7ab299b2465cda2b9fb0ce5c4014906cc7d20e31 (diff)
downloadbox64-67c9378fb8568b6104979e158ed690e4c6d3bc04.tar.gz
box64-67c9378fb8568b6104979e158ed690e4c6d3bc04.zip
Hacked wrapped ptrace to avoid crash when wine handle exception (and debug registers in general)
Diffstat (limited to 'src/wrapped/generated/wrappedlibctypes.h')
-rw-r--r--src/wrapped/generated/wrappedlibctypes.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wrapped/generated/wrappedlibctypes.h b/src/wrapped/generated/wrappedlibctypes.h
index ec55e5bb..508a16f6 100644
--- a/src/wrapped/generated/wrappedlibctypes.h
+++ b/src/wrapped/generated/wrappedlibctypes.h
@@ -73,6 +73,7 @@ typedef int32_t (*iFpLpA_t)(void*, uintptr_t, void*, va_list);
 typedef int32_t (*iFppii_t)(void*, void*, int32_t, int32_t);
 typedef int32_t (*iFppiV_t)(void*, void*, int32_t, ...);
 typedef int32_t (*iFpppp_t)(void*, void*, void*, void*);
+typedef intptr_t (*lFuipp_t)(uint32_t, int32_t, void*, void*);
 typedef void (*vFpLLpp_t)(void*, uintptr_t, uintptr_t, void*, void*);
 typedef int32_t (*iFiippi_t)(int32_t, int32_t, void*, void*, int32_t);
 typedef int32_t (*iFiLLLL_t)(int32_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t);
@@ -254,6 +255,7 @@ typedef int32_t (*iFppipppp_t)(void*, void*, int32_t, void*, void*, void*, void*
 	GO(__vsprintf_chk, iFpppp_t) \
 	GO(scandir, iFpppp_t) \
 	GO(scandir64, iFpppp_t) \
+	GO(ptrace, lFuipp_t) \
 	GO(qsort_r, vFpLLpp_t) \
 	GO(__fxstatat, iFiippi_t) \
 	GO(__fxstatat64, iFiippi_t) \