Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
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 }}
cppcheck-opensource
/
cppcheck
Public
Notifications
You must be signed in to change notification settings
Fork
1.6k
Star
6.8k
Code
Pull requests
204
Actions
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Security and quality
Insights
Commits
Breadcrumbs
History for
cppcheck
lib
checkstl.cpp
on
2.12.x
User selector
All users
Datepicker
All time
Commit history
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 17, 2023
fixed #6316 (Use std::to_string() in place of MathLib::toString() ...) - deleted default implementation of `Mathlib::toString()` (#5341)
Show description for 3cf9100
firewave
and
IOBYTE
authored
3cf9100
View commit details
Copy full SHA for 3cf9100
View code at this point
Browse repository at this point
Commits on Jul 10, 2023
Fix #11802 FP stlcstr for string in shared_ptr copied elsewhere (#5230)
chrchr-github
authored
8d3fd88
View commit details
Copy full SHA for 8d3fd88
View code at this point
Browse repository at this point
Commits on Jul 7, 2023
Fix #11818 FP constParameterReference / #11819 FP stlcstrConstructor / #11814 FP unknownMacro (#5224)
chrchr-github
authored
cc38ef4
View commit details
Copy full SHA for cc38ef4
View code at this point
Browse repository at this point
Commits on Jun 20, 2023
Enable and mitigate readability-else-after-return (#5175)
chrchr-github
authored
bb962e2
View commit details
Copy full SHA for bb962e2
View code at this point
Browse repository at this point
Fix #11697 FP negativeContainerIndex after index is validated (#5172)
chrchr-github
authored
78c7e33
View commit details
Copy full SHA for 78c7e33
View code at this point
Browse repository at this point
Commits on May 31, 2023
Fix #11547 FN stlcstrConstructor, stlcstrAssignment with std::stringview (#5097)
Show description for 0ecf101
chrchr-github
authored
0ecf101
View commit details
Copy full SHA for 0ecf101
View code at this point
Browse repository at this point
Commits on May 27, 2023
Fix #11547 FN stlcstrParam with std::string_view (#5093)
Show description for 1778977
chrchr-github
authored
1778977
View commit details
Copy full SHA for 1778977
View code at this point
Browse repository at this point
Commits on May 3, 2023
Partial fix for #11131 FN variableScope with const member functions (#5027)
chrchr-github
authored
ec2a2ad
View commit details
Copy full SHA for ec2a2ad
View code at this point
Browse repository at this point
Commits on Apr 28, 2023
fixed some CLion inspection warnings (#4688)
Show description for b3016f0
firewave
authored
b3016f0
View commit details
Copy full SHA for b3016f0
View code at this point
Browse repository at this point
Commits on Apr 18, 2023
Fix FN unusedStructMember with member functions, inheritance (#4978)
Show description for 35a46df
chrchr-github
authored
35a46df
View commit details
Copy full SHA for 35a46df
View code at this point
Browse repository at this point
Commits on Apr 8, 2023
iwyu.yml: use a distro which has the latest `include-what-you-use` / enabled Qt mappings / cleaned up includes (#4885)
firewave
authored
5be8eee
View commit details
Copy full SHA for 5be8eee
View code at this point
Browse repository at this point
Commits on Mar 17, 2023
Enable and mitigate readability-simplify-boolean-expr (#4897)
chrchr-github
authored
3ccd050
View commit details
Copy full SHA for 3ccd050
View code at this point
Browse repository at this point
Commits on Mar 13, 2023
Fix crash in LoopAnalyzer (#4888)
chrchr-github
authored
a6c5bb2
View commit details
Copy full SHA for a6c5bb2
View code at this point
Browse repository at this point
Commits on Mar 12, 2023
Fix 11610: false negative: knownConditionTrueFalse with address of variable (#4883)
pfultz2
authored
61e8b84
View commit details
Copy full SHA for 61e8b84
View code at this point
Browse repository at this point
Partial fix for #11604: no DacaWrongData for function pointer (#4867)
chrchr-github
authored
a753923
View commit details
Copy full SHA for a753923
View code at this point
Browse repository at this point
Commits on Mar 9, 2023
Fix 11605: FN useStlAlgo with multiple conditions (#4873)
pfultz2
authored
9351edd
View commit details
Copy full SHA for 9351edd
View code at this point
Browse repository at this point
Commits on Mar 4, 2023
Fix #11595 FN useStlAlgorithm with complex condition (#4848)
chrchr-github
authored
9291421
View commit details
Copy full SHA for 9291421
View code at this point
Browse repository at this point
Commits on Feb 24, 2023
Fix #11553 pop_back on empty container is UB (#4789)
chrchr-github
authored
50c8a0d
View commit details
Copy full SHA for 50c8a0d
View code at this point
Browse repository at this point
Commits on Feb 23, 2023
Improve valueflow after pushing to container (#4803)
pfultz2
authored
346ecdb
View commit details
Copy full SHA for 346ecdb
View code at this point
Browse repository at this point
Commits on Feb 7, 2023
Set functions for calls through iterators (#4763)
chrchr-github
authored
8af1026
View commit details
Copy full SHA for 8af1026
View code at this point
Browse repository at this point
Commits on Feb 3, 2023
Fix FN stlcstrAssignment (#4764)
chrchr-github
authored
5818520
View commit details
Copy full SHA for 5818520
View code at this point
Browse repository at this point
Commits on Jan 28, 2023
ValueFlow: some interface and namespace cleanups (#4746)
firewave
authored
afd13ea
View commit details
Copy full SHA for afd13ea
View code at this point
Browse repository at this point
Update copyright year
danmar
committed
464fbe8
View commit details
Copy full SHA for 464fbe8
View code at this point
Browse repository at this point
Commits on Jan 7, 2023
removed unused error messages (#4689)
firewave
authored
a09667a
View commit details
Copy full SHA for a09667a
View code at this point
Browse repository at this point
Commits on Dec 30, 2022
use `const_iterator` where possible (#4662)
firewave
authored
1cfe49e
View commit details
Copy full SHA for 1cfe49e
View code at this point
Browse repository at this point
Commits on Dec 18, 2022
Fix FP useStlAlgorithm (don't suggest std::accumulate when nothing is accumulated) (#4647)
chrchr-github
authored
b1abaf8
View commit details
Copy full SHA for b1abaf8
View code at this point
Browse repository at this point
Commits on Oct 16, 2022
Fix #10412 FN useStlAlgorithm with iterators (#4157)
chrchr-github
authored
3273e51
View commit details
Copy full SHA for 3273e51
View code at this point
Browse repository at this point
Commits on Oct 2, 2022
applied clang-tidy `misc-const-correctness` fixes for POD types, iterators and references (#4529)
Show description for cff1cd9
firewave
authored
cff1cd9
View commit details
Copy full SHA for cff1cd9
View code at this point
Browse repository at this point
Commits on Sep 30, 2022
Partial fix for #9157 False negative: stlOutOfBounds, cast (#4527)
Show description for 586c29c
chrchr-github
authored
586c29c
View commit details
Copy full SHA for 586c29c
View code at this point
Browse repository at this point
Commits on Aug 23, 2022
Fix another c_strParam regression (#4394)
chrchr-github
authored
13e8d52
View commit details
Copy full SHA for 13e8d52
View code at this point
Browse repository at this point
Fix c_strParam regression (#4393)
Show description for 4be7f68
chrchr-github
authored
4be7f68
View commit details
Copy full SHA for 4be7f68
View code at this point
Browse repository at this point
Commits on Aug 22, 2022
Detect more instances of c_str() misuse (#4392)
Show description for 66fca7b
chrchr-github
authored
66fca7b
View commit details
Copy full SHA for 66fca7b
View code at this point
Browse repository at this point
Commits on Aug 21, 2022
Fix #8336 FN stlcstrParam (#4389)
Show description for d351a97
chrchr-github
authored
d351a97
View commit details
Copy full SHA for d351a97
View code at this point
Browse repository at this point
Commits on Aug 20, 2022
Fix #7515 New check: Not needed c_str() operation (#4371)
chrchr-github
authored
b04bf73
View commit details
Copy full SHA for b04bf73
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.