ntdll: Program could modify Dr* registers in segv_handler too.

Peter Beutner p.beutner at gmx.net
Sun Dec 11 11:36:39 CST 2005


Vitaliy Margolen schrieb:
> Sunday, December 11, 2005, 9:07:06 AM, Peter Beutner wrote:
> 
>>Vitaliy Margolen schrieb:
>>
>>>ChangeLog:
>>>ntdll: Program could modify Dr* registers in segv_handler too.
>>>
>>
>>Doesn't every exception handler could modify these registers?
>>So probably it would be better to put this check into RtlRaiseException?
> 
> Nope can't. __regs_RtlRaiseException is common for all the platforms
> (implemented in dlls/ntdll/exception.c). While Dr* registers are not
> available on all the platforms.

What about putting some
#ifdef __i386__
...
#endif
around it?



More information about the wine-devel mailing list