News for hackers. Stuff that matters.
Re:Counting Bugs in Windows Calculator by AndreyKarpov on Wednesday March 13, 2019 @01:45PM (#19381337)
Re:Counting Bugs in Windows Calculator by geofft on Wednesday March 13, 2019 @02:11PM (#19381639)
Those seem like potential bugs in GCC/Clang - that doesn't say whether GCC compiled with GCC or Clang compiled with Clang would produce the same warnings. Does GCC compile cleanly with gcc -Wall -Wextra -Werror?
Re:Counting Bugs in Windows Calculator by acdha on Wednesday March 13, 2019 @02:51PM (#19382130)
Do you have Clang tests which are more recent than 8 years ago? Or, especially, any which were validated and accepted upstream?
Re:Counting Bugs in Windows Calculator by AndreyKarpov on Thursday March 14, 2019 @12:58PM (#19391096)
The last check was in 2016: https://www.viva64.com/en/b/0446/ . Yes, it was few years ago because we were not interested in writing the same articles again and again. There are a lot of other interesting projects in the world: https://www.viva64.com/en/inspections/ . I also want to note that you assume that Clang was worse than PVS-Studio long time ago but now it can catch up. To that, I will say that all these years we’ve been working on analyzer development :). By the way, here is where you can read about the way it works: "Technologies used in the PVS-Studio code analyzer for finding bugs and potential vulnerabilities" - https://www.viva64.com/en/b/0592/
Re:Counting Bugs in Windows Calculator by acdha on Thursday March 14, 2019 @01:38PM (#19391510)
More simply, I'm just curious about what, as a developer in 2019, would be the selling point for using it if you were on a project which was relatively clean using Clang's warnings and static analysis toolchain, flawfinder, etc.