[PATCH 2/2 v2] ntdll: Zero debug registers after thread creation

Christian Inci chris.wine at broke-the-inter.net
Sun Apr 9 13:15:16 CDT 2017


Thanks. I guess that I should quit coding altogether.

On 04/09/2017 07:53 PM, Matteo Bruni wrote:
> 2017-04-07 19:22 GMT+02:00 Christian Inci <chris.wine at broke-the-inter.net>:
>> Thanks, I weren't sure about that one. I thought that every recent compiler will zero-initialize local variables/structures.
>> Are there compilers or some special cases which wouldn't let that happen?
>> Are they often enough not explicit set to zero (by using non-previously-used memory for the first time), so it'll be assumed to be zero?
> 
> Huh? No, automatic variables aren't implicitly initialized in C and I
> wouldn't want a compiler that goes out of its way to initialize them,
> slowing down the code for everyone.
> 



More information about the wine-devel mailing list