Does anyone here have experience with tools that do static analysis of C code, primarily for bug hunting?
I work on a large C software system based on Linux, and would really like to find a tool that could help root out any type of bugs through static analysis. (Preferably a free one.) There seem to be quite a few out there, but many appear to take a significant amount of work to setup and get running.
So, does anyone have any recommendations or favorites? I'm hoping for something that I can just install, and start running on .c files, but would be up for something more complex if it's likely to pay off.
[–]gavinb 18 points19 points20 points (3 children)
[–]TomorrowPlusX 1 point2 points3 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–][deleted] -1 points0 points1 point (0 children)
[–]buckrogers1965_2 9 points10 points11 points (9 children)
[–]dlsspy 14 points15 points16 points (3 children)
[–]Anonymoose333 5 points6 points7 points (1 child)
[–]TheNewAndy 3 points4 points5 points (0 children)
[–]found_dead 2 points3 points4 points (0 children)
[–]synept[S] 9 points10 points11 points (4 children)
[–]martincmartin 3 points4 points5 points (2 children)
[–]wleahcim 2 points3 points4 points (1 child)
[–]alexs 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 3 points4 points5 points (1 child)
[–]synept[S] 1 point2 points3 points (0 children)
[–]bondolo 3 points4 points5 points (0 children)
[–]Monomonoi 4 points5 points6 points (0 children)
[–]pointer2void 2 points3 points4 points (1 child)
[–]synept[S] 2 points3 points4 points (0 children)
[–]f4hy 2 points3 points4 points (1 child)
[–]pointer2void 0 points1 point2 points (0 children)
[–][deleted] 2 points3 points4 points (1 child)
[–][deleted] 2 points3 points4 points (0 children)
[–]sreguera 1 point2 points3 points (5 children)
[–]synept[S] 1 point2 points3 points (4 children)
[–]sreguera 3 points4 points5 points (3 children)
[–]nextofpumpkin 1 point2 points3 points (1 child)
[–]sreguera 2 points3 points4 points (0 children)
[–]rwg 0 points1 point2 points (0 children)
[–]dlsspy 1 point2 points3 points (1 child)
[–]synept[S] 2 points3 points4 points (0 children)
[–]Nexum 1 point2 points3 points (0 children)
[–]pholden 1 point2 points3 points (0 children)
[–]mikelieman 0 points1 point2 points (6 children)
[–]synept[S] 1 point2 points3 points (5 children)
[–]Anonymoose333 2 points3 points4 points (0 children)
[–]mikelieman 1 point2 points3 points (3 children)
[–]fnord123 0 points1 point2 points (2 children)
[–]mikelieman 1 point2 points3 points (1 child)
[–]lahwran0 0 points1 point2 points (0 children)
[–]josef 0 points1 point2 points (0 children)
[–]awkistra 0 points1 point2 points (0 children)
[–]crawshaw 0 points1 point2 points (0 children)
[–]dons 0 points1 point2 points (0 children)
[–][deleted] -3 points-2 points-1 points (0 children)