[4/5] ntdll: Don't send EXCEPTION_EXECUTE_FAULT to Windows programs that didn't enable DEP.

Michael Karcher wine at mkarcher.dialup.fu-berlin.de
Sun Jul 26 12:59:32 CDT 2009


This is what Windows does, too. If Data Execution Prevention is not enabled
for a process, Windows does not use the EXCEPTION_EXECUTE_FAULT flag, as
the program might be incompatible with it and expect EXCEPTION_READ_FAULT.

This fixes the non-functional single-stepping in Delphi,
as reported for example in
 http://appdb.winehq.org/objectManager.php?sClass=version&iId=22&iTestingId=10795
---
 dlls/ntdll/signal_i386.c   |    4 ++++
 dlls/ntdll/tests/process.c |    6 +-----
 2 files changed, 5 insertions(+), 5 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-ntdll-Don-t-send-EXCEPTION_EXECUTE_FAULT-to-Windows-.patch
Type: text/x-patch
Size: 1695 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20090726/dab221d7/attachment.bin>


More information about the wine-patches mailing list