about summary refs log tree commit diff stats
path: root/src/wrapped/generated/wrapper.h
diff options
context:
space:
mode:
authorGergő Móricz <mo.geryy@gmail.com>2021-10-17 21:19:52 +0200
committerGergő Móricz <mo.geryy@gmail.com>2021-10-17 21:19:52 +0200
commite1a2230e9ca654cdd2b4230060a304d792843914 (patch)
treea2ae3df6866b43bd75d4ce706caa2fe04c130d6a /src/wrapped/generated/wrapper.h
parent82bd4431e6f0a43c28bf4d28d49eeee8b52df8c3 (diff)
downloadbox64-e1a2230e9ca654cdd2b4230060a304d792843914.tar.gz
box64-e1a2230e9ca654cdd2b4230060a304d792843914.zip
Add alignment wrapper to pthread_getattr_np.
This fixes stack corruption when using pthread_getattr_np on
hirsute (Ubuntu 21.04) and libc >=2.33

This should also fix #130.
Diffstat (limited to 'src/wrapped/generated/wrapper.h')
-rw-r--r--src/wrapped/generated/wrapper.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wrapped/generated/wrapper.h b/src/wrapped/generated/wrapper.h
index a50ffddc..b2000113 100644
--- a/src/wrapped/generated/wrapper.h
+++ b/src/wrapped/generated/wrapper.h
@@ -1908,6 +1908,7 @@ void iFipiip(x64emu_t *emu, uintptr_t fnc);
 #endif
 
 #if !defined(NOALIGN)
+void iFELp(x64emu_t *emu, uintptr_t fnc);
 void iFEppu(x64emu_t *emu, uintptr_t fnc);
 void iFEiiip(x64emu_t *emu, uintptr_t fnc);
 void iFEipii(x64emu_t *emu, uintptr_t fnc);