Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
chrchr-github
cppcheck
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
cppcheck
lib
checkstring.cpp
on
chr_nestedenum
User selector
All users
Datepicker
All time
Commit history
Commits on Sep 12, 2023
Fix #11976 FP incorrectStringBooleanError in assert (#5415)
chrchr-github
authored
18ee859
View commit details
Copy full SHA for 18ee859
View code at this point
Browse repository at this point
Commits on Sep 11, 2023
changed `bool_to_string()` to return `const char*` instead and use it in more cases (#5385)
firewave
authored
639a413
View commit details
Copy full SHA for 639a413
View code at this point
Browse repository at this point
Commits on Sep 6, 2023
Update copyright year
danmar
committed
4739ac8
View commit details
Copy full SHA for 4739ac8
View code at this point
Browse repository at this point
Commits on Aug 29, 2023
Partial fix for #11897 (Safety: show what checks are enabled/disabled) (#5372)
Show description for 276f017
danmar
authored
276f017
View commit details
Copy full SHA for 276f017
View code at this point
Browse repository at this point
Commits on Aug 23, 2023
Fix FP incorrectStringBooleanError with unknown macro (#5364)
chrchr-github
authored
5a7c7b9
View commit details
Copy full SHA for 5a7c7b9
View code at this point
Browse repository at this point
Commits on Aug 22, 2023
Fix FP incorrectStringBooleanError with macro (#5358)
chrchr-github
authored
af46c68
View commit details
Copy full SHA for af46c68
View code at this point
Browse repository at this point
Commits on Aug 21, 2023
Fix #11881 FP returnStdMoveLocal / Fix FP incorrectStringBooleanError / Support std::string::starts/ends_with() (#5347)
chrchr-github
authored
725c431
View commit details
Copy full SHA for 725c431
View code at this point
Browse repository at this point
Commits on Aug 18, 2023
Fix #11579 FN knownConditionTrueFalse with non-bool as bool parameter / #9450 string literal to bool conversion in function call (#5338)
chrchr-github
authored
827e87a
View commit details
Copy full SHA for 827e87a
View code at this point
Browse repository at this point
Commits on Jul 11, 2022
Fix #11166 inefficient way to remove last character from std::string (#4267)
Show description for 47c2a01
chrchr-github
authored
47c2a01
View commit details
Copy full SHA for 47c2a01
View code at this point
Browse repository at this point
Commits on May 25, 2022
checkAlwaysTrueOrFalseStringCompare: Added '_mbscmp_l' to list of functions.
orbitcowboy
committed
eb3b8a6
View commit details
Copy full SHA for eb3b8a6
View code at this point
Browse repository at this point
Commits on Feb 5, 2022
Update copyright year
danmar
committed
3989408
View commit details
Copy full SHA for 3989408
View code at this point
Browse repository at this point
Commits on Jan 27, 2022
avoid dependency on transitive includes - based on include-what-you-use (#3757)
firewave
authored
171da2e
View commit details
Copy full SHA for 171da2e
View code at this point
Browse repository at this point
Commits on Sep 28, 2021
Minor: add endsWith() template, empy() check (#3472)
chrchr-github
authored
0c16e34
View commit details
Copy full SHA for 0c16e34
View code at this point
Browse repository at this point
Commits on Apr 3, 2021
cleaned up includes based on include-what-you-use (#3141)
firewave
authored
6397e29
View commit details
Copy full SHA for 6397e29
View code at this point
Browse repository at this point
Commits on Mar 21, 2021
Update Copyright year
danmar
committed
4243727
View commit details
Copy full SHA for 4243727
View code at this point
Browse repository at this point
Commits on Feb 24, 2021
Refactorization: Improved internal implementation of severity and certainty levels
Show description for 141d2ac
PKEuS
authored and
danmar
committed
141d2ac
View commit details
Copy full SHA for 141d2ac
View code at this point
Browse repository at this point
Commits on Feb 20, 2021
Fixed more false negatives (and recently introduced false positives) literalWithCharPtrCompare by using ValueType
Show description for 29a6031
PKEuS
authored and
danmar
committed
29a6031
View commit details
Copy full SHA for 29a6031
View code at this point
Browse repository at this point
Fixed false negatives literalWithCharPtrCompare when address-of operator (C only) or arrays are used, adapted TODO unit tests
Show description for 423d7db
PKEuS
authored and
danmar
committed
423d7db
View commit details
Copy full SHA for 423d7db
View code at this point
Browse repository at this point
Commits on Jul 20, 2020
Refactor: Use visitAstNodes in checkstring
rikardfalkeborn
committed
82fe619
View commit details
Copy full SHA for 82fe619
View code at this point
Browse repository at this point
Commits on Jun 13, 2020
Update copyright year
danmar
committed
37245a8
View commit details
Copy full SHA for 37245a8
View code at this point
Browse repository at this point
Commits on Jun 6, 2020
Fixed #9276 (FP literalWithCharPtrCompare)
danmar
committed
44ff22f
View commit details
Copy full SHA for 44ff22f
View code at this point
Browse repository at this point
Commits on May 23, 2020
made check.h less heavy (#2633)
firewave
authored
37bc048
View commit details
Copy full SHA for 37bc048
View code at this point
Browse repository at this point
Commits on Oct 20, 2019
Set correct type and size of string and char literals (#2275)
Show description for 5c061c1
rikardfalkeborn
authored and
danmar
committed
5c061c1
View commit details
Copy full SHA for 5c061c1
View code at this point
Browse repository at this point
Commits on Oct 16, 2019
Keep prefix in string and char literals (#2272)
Show description for 2973609
rikardfalkeborn
authored and
danmar
committed
2973609
View commit details
Copy full SHA for 2973609
View code at this point
Browse repository at this point
Commits on Sep 19, 2019
use range loops / constness (#2181)
Show description for de9f489
firewave
authored and
amai2012
committed
de9f489
View commit details
Copy full SHA for de9f489
View code at this point
Browse repository at this point
Commits on Jul 5, 2019
Overlapping sprintf, improve handling of casts (#1945)
Show description for 2a17e62
rikardfalkeborn
authored and
danmar
committed
2a17e62
View commit details
Copy full SHA for 2a17e62
View code at this point
Browse repository at this point
Commits on Jun 29, 2019
Update Copyright
danmar
committed
84cc09d
View commit details
Copy full SHA for 84cc09d
View code at this point
Browse repository at this point
Commits on Apr 6, 2019
Checkstring fixes (#1783)
Show description for 295153d
rikardfalkeborn
authored and
danmar
committed
295153d
View commit details
Copy full SHA for 295153d
View code at this point
Browse repository at this point
Commits on Feb 25, 2019
Moved CheckString::sprintfOverlappingData from runSimplifiedChecks to runChecks
danmar
committed
f1146e3
View commit details
Copy full SHA for f1146e3
View code at this point
Browse repository at this point
Commits on Nov 9, 2018
Use functions instead of comparing with enum (#1471)
Show description for a3e717b
rikardfalkeborn
authored and
danmar
committed
a3e717b
View commit details
Copy full SHA for a3e717b
View code at this point
Browse repository at this point
Commits on Sep 28, 2018
Fix false positives in unknownEvaluationOrder when using followVar (#1391)
Show description for f65cf22
pfultz2
authored and
danmar
committed
f65cf22
View commit details
Copy full SHA for f65cf22
View code at this point
Browse repository at this point
Commits on Aug 12, 2018
Fix wrong message
danmar
committed
be4ae66
View commit details
Copy full SHA for be4ae66
View code at this point
Browse repository at this point
Commits on Aug 8, 2018
Fix FP, conversion of char literal '\0' to boolean is not true
danmar
committed
f2e7071
View commit details
Copy full SHA for f2e7071
View code at this point
Browse repository at this point
Commits on Jul 25, 2018
Revert "Refactoring endsWith utility function"
Show description for 58c91c4
danmar
committed
58c91c4
View commit details
Copy full SHA for 58c91c4
View code at this point
Browse repository at this point
Refactoring endsWith utility function
danmar
committed
d300d1f
View commit details
Copy full SHA for d300d1f
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.