-
Notifications
You must be signed in to change notification settings - Fork 0
Comparing changes
Open a pull request
base repository: chrchr-github/cppcheck
base: main
head repository: cppcheck-opensource/cppcheck
compare: main
- 13 commits
- 39 files changed
- 8 contributors
Commits on Aug 27, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 8a92e99 - Browse repository at this point
Copy the full SHA 8a92e99View commit details -
Configuration menu - View commit details
-
Copy full SHA for c6109ba - Browse repository at this point
Copy the full SHA c6109baView commit details
Commits on Aug 28, 2026
-
Fix #14917 fuzzing crash (null-pointer-use) in ReverseTraversal::trav…
…erse() (cppcheck-opensource#8800) Co-authored-by: chrchr-github <noreply@github.com>
Configuration menu - View commit details
-
Copy full SHA for 3a3184d - Browse repository at this point
Copy the full SHA 3a3184dView commit details -
Fix #14974: [regression] inline supression does not work with build d…
…ir anymore (cppcheck-opensource#8801) Also fixes #14993. The hash in the AnalyzerInformation file has been changed from an attribute to a node, this is because the hash is not known at the time the root node is written. An alternative would be to delay writing anything at all until checking is complete. An `includes` node has been added to the AnalyzerInformation file to keep track of which files were included during the last check, this allows calculating the correct hash and processing inline suppressions before any checking is done.
Configuration menu - View commit details
-
Copy full SHA for 6d2b6f4 - Browse repository at this point
Copy the full SHA 6d2b6f4View commit details -
Partial fix for #14982 internalAstError for function with std::enable…
…_if (cppcheck-opensource#8810) Co-authored-by: chrchr-github <noreply@github.com>
Configuration menu - View commit details
-
Copy full SHA for 0630d8a - Browse repository at this point
Copy the full SHA 0630d8aView commit details -
Fix #11604 Debug: DacaWrongData (cppcheck-opensource#8752)
Co-authored-by: chrchr-github <noreply@github.com>
Configuration menu - View commit details
-
Copy full SHA for 0ff234b - Browse repository at this point
Copy the full SHA 0ff234bView commit details -
Fix #14972 [regression] Syntax Error: AST broken, '!' doesn't have an…
… operand. (cppcheck-opensource#8791) Co-authored-by: chrchr-github <noreply@github.com>
Configuration menu - View commit details
-
Copy full SHA for 9a500c8 - Browse repository at this point
Copy the full SHA 9a500c8View commit details -
fix: improve misra.py for missing prototype false positives (cppcheck…
…-opensource#8805) The MISRA addon reported false positives for Rules 8.4 and 17.3 in cases involving valid prototypes and function-pointer calls. We identified these issues by comparing its results with reports previously generated by our company’s internal tool on the same software. The fix improves prototype and function-call detection in addons/misra.py and adds a regression test covering both cases. The bug report would have looked like below, but I don't have access to "issues" panel. # MISRA addon reports false positives for Rules 8.4 and 17.3 ## Description The MISRA addon reports false positives for Rules 8.4 and 17.3 when valid function prototypes or function-pointer calls are present. The issue was identified by comparing cppcheck results with reports generated by our company's internal tool on the same software. ## Reproduction ```c int regression_function(int value); int regression_function(int value) { return value; } int main(void) { int local_prototype(int value); int (*callback)(int) = regression_function; return callback(0); } ``` Run the MISRA addon on this file with Rules 8.4 and 17.3 enabled: ```bash cppcheck --enable=all --addon=addons/misra.py \ addons/test/misra/misra-regression-prototypes.c ``` ## Expected result No Rule 8.4 or Rule 17.3 violation is reported. ## Actual result The addon reports violations for valid prototype and function-pointer constructs.
Configuration menu - View commit details
-
Copy full SHA for 1fda43b - Browse repository at this point
Copy the full SHA 1fda43bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e6f7b92 - Browse repository at this point
Copy the full SHA e6f7b92View commit details
Commits on Aug 29, 2026
-
Configuration menu - View commit details
-
Copy full SHA for d84ae30 - Browse repository at this point
Copy the full SHA d84ae30View commit details
Commits on Aug 30, 2026
-
Configuration menu - View commit details
-
Copy full SHA for c646f39 - Browse repository at this point
Copy the full SHA c646f39View commit details
Commits on Aug 31, 2026
-
Add test for #14981:
macroNamemissing for__LINE__expanded in f……unction-like macro (cppcheck-opensource#8811) Fixed after simplecpp bump
Configuration menu - View commit details
-
Copy full SHA for 8357500 - Browse repository at this point
Copy the full SHA 8357500View commit details
Commits on Sep 2, 2026
-
Fix #14995 (Suppression file name cache) (cppcheck-opensource#8684)
Implement a file name cache per suppression to avoid calling PathMatch::match again and again for the same suppression and file name combination. Local benchmark running cppcheck with misra c-2012 has been performed. **Before** 10min 34sec **After** 1min 36sec In this test it was a few header files producing the majority of the error messages, which is why the cache speeds it up by a lot.
Configuration menu - View commit details
-
Copy full SHA for 637d5be - Browse repository at this point
Copy the full SHA 637d5beView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff main...main