💾 Archived View for gem.walkero.gr › ko-fi › cppcheck-for-AmigaOS-4-released.gmi captured on 2023-01-29 at 02:39:57. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
22 September 2022
Today I have a software release for all the AmigaOS 4 developers, that I hope will help find potential flaws in code. I firmly believe that more available tools can help us write better and more secure code.
So, today I made available for everyone a tool called cppcheck. This is an excellent open-source tool that is able to scan your source code and recommend changes or good practices based on specifications. It is not needed to be compiled in your application as the checks it does are not done during the execution of the code.
cppcheck developers describe it on its official website as:
Cppcheck is a static analysis tool for C/C++ code. It provides unique code analysis to detect bugs and focuses on detecting undefined behaviour and dangerous coding constructs. The goal is to have very few false positives. Cppcheck is designed to be able to analyze your C/C++ code even if it has non-standard syntax (common in embedded projects).
I would recommend you give it a try and if it is suitable for you. Inside the archive, you will find the full manual of cppcheck. Have in mind no GUI is ported, so using it in the shell is the only way.
You can download it from my personal Git Repo and soon from OS4Depot. I'd love to listen to your opinion and how you use it.