diff options
author | moonshadow565 | 2023-04-08 18:56:35 +0200 |
---|---|---|
committer | moonshadow565 | 2023-04-08 19:56:32 +0200 |
commit | c4f409a3fcf315f221b388c3afb923f9eca63681 (patch) | |
tree | 389716a37618c6c6d5b0b10ef39e9af7f189c17e /0008-ntdll-nopguard-call_vectored_handlers.patch | |
parent | 94420a4266d6707446f412e7d2ef2270481002a7 (diff) | |
download | aur-c4f409a3fcf315f221b388c3afb923f9eca63681.tar.gz |
Patches for 64bit stub.dll
Diffstat (limited to '0008-ntdll-nopguard-call_vectored_handlers.patch')
-rw-r--r-- | 0008-ntdll-nopguard-call_vectored_handlers.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/0008-ntdll-nopguard-call_vectored_handlers.patch b/0008-ntdll-nopguard-call_vectored_handlers.patch new file mode 100644 index 000000000000..ffb1d22dff42 --- /dev/null +++ b/0008-ntdll-nopguard-call_vectored_handlers.patch @@ -0,0 +1,14 @@ +diff --git a/dlls/ntdll/exception.c b/dlls/ntdll/exception.c +index fc3e8982a98..a975e5c897a 100644 +--- a/dlls/ntdll/exception.c ++++ b/dlls/ntdll/exception.c +@@ -168,7 +168,9 @@ LONG call_vectored_handlers( EXCEPTION_RECORD *rec, CONTEXT *context ) + + TRACE( "calling handler at %p code=%lx flags=%lx\n", + func, rec->ExceptionCode, rec->ExceptionFlags ); ++ __asm__ __volatile__(".rept 16 ; nop ; .endr"); + ret = func( &except_ptrs ); ++ __asm__ __volatile__(".rept 16 ; nop ; .endr"); + TRACE( "handler at %p returned %lx\n", func, ret ); + + RtlEnterCriticalSection( &vectored_handlers_section ); |