ntdll: test for RtlDoesFileExists_U

Peter Oberndorfer kumbayo84 at arcor.de
Thu May 3 15:37:15 CDT 2007


---
This one is not meant to be applied.
It is just my quick hack to check if NtQueryAttributesFile is really called from within RtlDoesFileExists_U
and if the check if file lookup is case insensitive.
it also shows the function ignores the returned file attributes and accepts directories

It works by writing a int3 at the first byte of the instuction and placing a int3 trampoline at the return address to 
be notified when the function returns

If anyone finds this useful i can clean it up and move it to the right source file.
(this test probably relies on the patch that fixes up eip for int3 exceptions)
(will resend that one soon)

 dlls/ntdll/tests/exception.c |  205 ++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 205 insertions(+), 0 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bd85efcdee4a4d400042844ffd5292016e9aa563.diff
Type: text/x-patch
Size: 8818 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070503/79311c32/bd85efcdee4a4d400042844ffd5292016e9aa563.bin


More information about the wine-patches mailing list