Floyd 0.5 released

Discussion of anything and everything relating to chess playing software and machines.

Moderator: Ras

Joost Buijs
Posts: 1697
Joined: Thu Jul 16, 2009 10:47 am
Location: Almere, The Netherlands

Re: Many time losses

Post by Joost Buijs »

mar wrote: This is where static analyzers come in handy, cppcheck finds this easily (cplus.c, lines 261 and 302).
It also claims out of bounds access (idx 64) in moves.c, line 325, but this may be a false positive.
Thanks for the hint about cppcheck, I didn't know this utility.
It integrates nicely as a plugin into Visual Studio.

The Visual Studio code analyzer does not find this, it is basically looking for Windows incompatibilities and wrong system call parameters.