Hi,

Von: Stefan Fuhrmann [mailto:stefan.fuhrm...@wandisco.com] 
>> Are you saying that Valgrind will
>> complain about uninitialized memory because of the padding on 64-bit Windows
>> (since it's going to pad due to the 64-bit word size but long is still 
>> 32-bits)?

> If there was valgrind on Windows (which is the next
> problem with verification), it would spot the first place
> where either the padding or any copy of it gets read.
> In the case of cache keys, that would be trivially the
> place when we use the struct to calculate the cache-
> internal bucket index.

I did not try it myself, but http://sourceforge.net/projects/valgrind4win/ 
aims to port valgrind for windows. It is currently "alpha", but also has
a 5 star rating, so maybe it is already useful for some cases.


Best regards

Markus Schaber

CODESYS(r) a trademark of 3S-Smart Software Solutions GmbH 

Inspiring Automation Solutions 
________________________________________
3S-Smart Software Solutions GmbH 
Dipl.-Inf. Markus Schaber | Product Development Core Technology 
Memminger Str. 151 | 87439 Kempten | Germany 
Tel. +49-831-54031-979 | Fax +49-831-54031-50 

E-Mail: m.scha...@codesys.com | Web: codesys.com | CODESYS store: 
store.codesys.com 
CODESYS forum: forum.codesys.com 

Managing Directors: Dipl.Inf. Dieter Hess, Dipl.Inf. Manfred Werner | Trade 
register: Kempten HRB 6186 | Tax ID No.: DE 167014915 

Reply via email to