
Semgrep
Snyk
SonarQube
ESLint
Codacy
Checkmarx
pre-commit by Yelp
Dependabot
Cppcheck
Clang Static Analyzer
Coverity Scan
lgtm.com
SonarQube
VisualCodeGrepper
Flawfinder
Parasoft C/C++test
Semgrep
CppcheckCppcheck is recommended for C/C++ developers and development teams, particularly those responsible for maintaining large codebases or projects where code quality and reliability are paramount. It is also beneficial for educational purposes, where students and new developers can learn about potential pitfalls in C/C++ programming.
Based on our record, Semgrep should be more popular than Cppcheck. It has been mentiond 22 times since March 2021. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.
Representative tools: Semgrep is my default โ it's open-source, fast, and its rules read like the code they match, so writing a custom rule for your own footguns takes minutes. GitLab ships a built-in SAST analyzer you can enable with a single include in your .gitlab-ci.yml. For Python-specific work, Bandit is a lightweight option. - Source: dev.to / about 1 month ago
Semgrep is a static analysis tool that works across multiple languages and focuses specifically on security-relevant patterns. Where ESLint is general-purpose, Semgrep is built for finding the kinds of code patterns that lead to vulnerabilities. - Source: dev.to / 2 months ago
Semgrep is an open-source static analysis tool that supports custom rules. For AI-generated code, it is particularly useful for enforcing patterns that ESLint and mypy don't cover: business logic rules, security patterns, or project-specific conventions. - Source: dev.to / 3 months ago
Semgrep runs static analysis using rules that match code patterns across many languages. For AI-generated code specifically, it's useful for catching common hallucination patterns: calls to deprecated API methods, uses of removed library functions, or security antipatterns that appear in training data because they were widespread in code before security guidance was widely adopted. - Source: dev.to / 3 months ago
For Python projects, add Semgrep alongside flake8 or pylint. Semgrep's community rules include checks for common AI-generated patterns like deprecated API usage and security antipatterns. The configuration is minimal:. - Source: dev.to / 3 months ago
I dedicated Sunday morning to going over the documentation of the linters we use in the project. The goal was to understand all options and use them in the best way for our project. Seeing their manuals side by side was nice because even very similar things are solved differently. Cppcheck is the most configurable and best documented; JSON Lint lies at the other end. - Source: dev.to / over 2 years ago
Using infer, someone else exploited null-dereference checks to introduce simple affine types in C++. Cppcheck also checks for null-dereferences. Unfortunately, that approach means that borrow-counting references have a larger sizeof than non-borrow counting references, so optimizing the count away potentially changes the semantics of a program which introduces a whole new way of writing subtly wrong code. Source: about 3 years ago
For my own projects, I used cppcheck. You can check out that tool to get a feel. Depending on what industry your in, you might need to follow a standard like Misra. Source: over 3 years ago
Https://cppcheck.sourceforge.io/ (there are many other static analysis tools, I just haven't used them or didn't care for them). Source: over 3 years ago
Sounds like something that could simply be communicated with the team that writes the tests. Unless you have dozens of such classes. In that case, you could just use e.g. Cppcheck and add a rule (regular expression) that searches for usages of the forbidden classes. Source: over 3 years ago
Snyk - Snyk helps you use open source and stay secure. Continuously find and fix vulnerabilities for npm, Maven, NuGet, RubyGems, PyPI and much more.
Clang Static Analyzer - The Clang Static Analyzer is a source code analysis tool that finds bugs in C, C++, and Objective-C...
SonarQube - SonarQube, a core component of the Sonar solution, is an open source, self-managed tool that systematically helps developers and organizations deliver Clean Code.
Coverity Scan - Find and fix defects in your Java, C/C++ or C# open source project for free
ESLint - The fully pluggable JavaScript code quality tool
lgtm.com - lgtm.com is a platform for code analytics.