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

Vitaliy Margolen wine-devel at kievinfo.com
Sun Dec 11 11:40:47 CST 2005


Sunday, December 11, 2005, 10:36:39 AM, Peter Beutner wrote:
> 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?

That's what signal_*.c are for...






More information about the wine-devel mailing list