From e1a2230e9ca654cdd2b4230060a304d792843914 Mon Sep 17 00:00:00 2001 From: Gergő Móricz Date: Sun, 17 Oct 2021 21:19:52 +0200 Subject: 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. --- src/wrapped/generated/wrapper.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/wrapped/generated/wrapper.h') 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); -- cgit 1.4.1