ntdll: Add exception tests for RtlUnwind on i386.
sebastian at fds-team.de
Thu Jun 19 08:00:33 CDT 2014
This patch adds a couple of simple tests for RtlUnwind() on i386. The
assembler-wrapper is required since Windows doesn't guarantee that
ebx/esi/edi is preserved.
Main reason for this patch was that I wondered, if it is correct, that
Wine ignores the targetIp argument passed in RtlUnwind(), but this seems
to be to correct and matches the windows implementation. What
unfortunately doesn't match is the behaviour when doing an exit-unwind
(Windows always seems to terminates the app, even if an vectored
exception handler is installed, Wine does nothing and continues
execution in the next line). I'll add some more patches when I've
figured out a way to write a unit-test for that without crashing the app ;)
dlls/ntdll/tests/exception.c | 80
1 file changed, 80 insertions(+)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5733 bytes
Desc: not available
More information about the wine-patches