Most tools can determine that the array index will be 1000 and there will be overflow. In Cppcheck the data flow analysis is not only "forward" but "bi-directional". But in practice, it means Cppcheck will detect bugs that the other tools do not detect. In theory by definition, it is better with path sensitive analysis than flow sensitive analysis. Several other analyzers use path sensitive analysis based on abstract interpretation, that is also great however that has both advantages and disadvantages. This has been established in many studies.Ĭppcheck uses unsound flow sensitive analysis. Using several static analysis tools can be a good idea. Unique code analysis that detect various kinds of bugs in your code.īoth command line interface and graphical user interface are available.Ĭppcheck has a strong focus on detecting undefined behaviour. Cppcheck is designed to be able to analyze your C/C++ code even if it has non-standard syntax (common in embedded projects). The goal is to have very few false positives. Cppcheck should be compilable by any compiler that supports C++11 or later. Supported code and platforms: Cppcheck checks non-standard code that contains various compiler extensions, inline assembly code, etc. It provides unique code analysis to detect bugs and focuses on detecting undefined behaviour and dangerous coding constructs. Cppcheck is designed to analyze your C/C++ code even if it has non-standard syntax, as is common in for example embedded projects. Cppcheck is a static analysis tool for C/C++ code.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |