Static analysis of C/C++ code. Checks for: memory leaks, mismatching allocation-deallocation, buffer overrun, and many more. The goal is 0% false positives. See http://cppcheck.sourceforge.net for more information.
-
Thank you-this worked. But I am now getting errors "There was a critical error with id 'unknownMacro', when checking [filename.cpp], Analysis was aborted". I can only see the last of these, and the file named is not in the list below. Also, after the final error, cppcheck went into an infinite loop and could only be stopped by killing the process with Task Manager.
-
Thank you-this worked. But I am now getting errors "There was a critical error with id 'unknownMacro', when checking [filename.cpp], Analysis was aborted". I can only see the last of these, and the file named is not in the list below.
-
Open File -> New Project File and after choosing a file name it will offer you a dialog where you can select the project to import.
-
I am attempting to use cppcheck 2.17.1 on Windows 11. When I start cppcheckgui.exe,and now, following the manual, I want to import my C++ project for checking. The manual says "In the project settings dialog, the first option you see is “Import project”. It is recommended that you use this feature if you can. Cppcheck can import: • Visual studio solution / project...". I don't see a "Project settings" dialog, or any menu item to import a Visual Studio solution. If instead I choose a single C++ source...
-
I am attempting to use cppcheck 2.17.1 on Windows 11. When I start cppcheckgui.exe,and now, following the manual, I want to import my C++ project for checking. The manual says "In the project settings dialog, the first option you see is “Import project”. It is recommended that you use this feature if you can. Cppcheck can import: • Visual studio solution / project...". I don't see a "Project settings" dialog, or any menu item to import a Visual Studio solution. If instead I choose a single C++ source...
License
GNU General Public License version 3.0 (GPLv3)Follow cppcheck
Other Useful Business Software
Comprehensive Cybersecurity to Safeguard Your Organization | SOCRadar
Protect your organization from cyber threats with SOCRadar’s cutting-edge threat intelligence. Gain 360° visibility into your digital assets, monitor the dark web, and stay ahead of hackers with real-time insights. Start for free and transform your cybersecurity today.
Rate This Project
Login To Rate This Project
User Reviews
-
It gets the job done.
-
Great tool. Compared to other (paid) tools, the ease of use of Cppcheck is remarkable. It does find issues if you configure it correctly. Via Cmake I was able to custom targets to my solution that check the project in the way I want it to. It's very fast. The Misra2012 addon finds a lot of issues that Polyspace doesn't, but the same is true the other way around. I think the 2 tools complement each other nicely. The support in the discussion forum is greatly appreciated and makes the tool better. Regards
-
Great open source tool with good support!
-
Bug
-
Looks good so far - I was in error in my assessment as to building the tool. I was using 2010 and not 2019. 2019 worked fine. Also, I noticed an installer too. So my original comment was a knee-jerk. Apologies.