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 }}
napcode
/
cppcheck
Public
forked from
cppcheck-opensource/cppcheck
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Commits
Breadcrumbs
History for
cppcheck
test
teststl.cpp
on
master
User selector
All users
Datepicker
All time
Commit history
Commits on Jan 5, 2020
Fix 9546: properly check that the bound is the size (#2475)
Show description for 5f73e1c
Ken-Patrick
authored and
danmar
committed
5f73e1c
View commit details
Copy full SHA for 5f73e1c
View code at this point
Browse repository at this point
Commits on Jan 3, 2020
Formatted 'wxwidgets.cfg: Added support for more interfaces.'
orbitcowboy
committed
ce0f7e2
View commit details
Copy full SHA for ce0f7e2
View code at this point
Browse repository at this point
Running astyle [ci skip].
orbitcowboy
committed
1e0f8ae
View commit details
Copy full SHA for 1e0f8ae
View code at this point
Browse repository at this point
Commits on Jan 1, 2020
Fix issue 9556: FP mismatchingContainers: raw pointer comparison (#2465)
Show description for 30b9455
pfultz2
authored and
amai2012
committed
30b9455
View commit details
Copy full SHA for 30b9455
View code at this point
Browse repository at this point
Commits on Dec 31, 2019
Fix issue 9550: False positive: Same iterator is used with containers 'x' that are defined in different scopes (#2463)
pfultz2
authored and
danmar
committed
82c91f9
View commit details
Copy full SHA for 82c91f9
View code at this point
Browse repository at this point
Commits on Dec 26, 2019
astyle formatting
Show description for 31bddb6
danmar
committed
31bddb6
View commit details
Copy full SHA for 31bddb6
View code at this point
Browse repository at this point
Commits on Dec 25, 2019
Use lifetime analysis for checking mismatching containers (#2456)
Show description for 42d44f0
pfultz2
authored and
danmar
committed
42d44f0
View commit details
Copy full SHA for 42d44f0
View code at this point
Browse repository at this point
Commits on Dec 20, 2019
Fixed #7107 (False positive iterators - using alias for container)
danmar
committed
252c3a1
View commit details
Copy full SHA for 252c3a1
View code at this point
Browse repository at this point
Commits on Dec 1, 2019
Fix crash 9492: Crash in FwdAnalysis::checkRecursive() (condTok is nullptr) (#2411)
Show description for f77347d
pfultz2
authored and
danmar
committed
f77347d
View commit details
Copy full SHA for f77347d
View code at this point
Browse repository at this point
Commits on Sep 11, 2019
Track lifetime across multiple returns
Show description for ba03783
pfultz2
authored and
danmar
committed
ba03783
View commit details
Copy full SHA for ba03783
View code at this point
Browse repository at this point
Commits on Sep 3, 2019
Fix issue 9274: false negative: (error) Buffer is accessed out of bounds (std::string, std::wstring)
pfultz2
authored and
danmar
committed
dc201d1
View commit details
Copy full SHA for dc201d1
View code at this point
Browse repository at this point
Fix FP with invalidContainerRef (#2141)
pfultz2
authored and
danmar
committed
88d1942
View commit details
Copy full SHA for 88d1942
View code at this point
Browse repository at this point
Commits on Sep 2, 2019
Fix issue 4845: alias to vector element invalid after vector is changed (#2113)
Show description for cb509f1
pfultz2
authored and
danmar
committed
cb509f1
View commit details
Copy full SHA for cb509f1
View code at this point
Browse repository at this point
Commits on Sep 1, 2019
Fix issue 9202: False positive: std::array, size is a constant (#2132)
pfultz2
authored and
danmar
committed
1210936
View commit details
Copy full SHA for 1210936
View code at this point
Browse repository at this point
Commits on Aug 24, 2019
STL: Fixed outOfBounds false positive
danmar
committed
996daae
View commit details
Copy full SHA for 996daae
View code at this point
Browse repository at this point
Commits on Aug 15, 2019
Use library to track container lifetimes
pfultz2
authored and
danmar
committed
ef71422
View commit details
Copy full SHA for ef71422
View code at this point
Browse repository at this point
Commits on Aug 14, 2019
Fix FP with negative index and negated condition (#2081)
pfultz2
authored and
danmar
committed
13df5b2
View commit details
Copy full SHA for 13df5b2
View code at this point
Browse repository at this point
Commits on Aug 12, 2019
Fix issue 8431 and 8776: Size of constant string
Show description for c0c6f92
pfultz2
authored and
danmar
committed
c0c6f92
View commit details
Copy full SHA for c0c6f92
View code at this point
Browse repository at this point
Fix issue 8313 and 7326: Track values of pointer aliases in valueflow
pfultz2
authored and
danmar
committed
68e8253
View commit details
Copy full SHA for 68e8253
View code at this point
Browse repository at this point
Commits on Jul 23, 2019
Fix FP when using a pointer to a container (#2029)
pfultz2
authored and
versat
committed
3ec3bd5
View commit details
Copy full SHA for 3ec3bd5
View code at this point
Browse repository at this point
Commits on Jul 18, 2019
Switch to use lifetime analysis for iterators and pointers to invalid containers
Show description for a08a9c1
pfultz2
authored and
danmar
committed
a08a9c1
View commit details
Copy full SHA for a08a9c1
View code at this point
Browse repository at this point
Commits on Jul 17, 2019
Rephraze performance message. /would be faster/could be faster/ to indicate that Cppcheck is not _sure_ that it would be faster
danmar
committed
90a215a
View commit details
Copy full SHA for 90a215a
View code at this point
Browse repository at this point
Commits on May 11, 2019
Fixed #9094 (Tokenizer::createLinks2 problem with 'x%x<--a==x>x')
danmar
committed
4d9b1e6
View commit details
Copy full SHA for 4d9b1e6
View code at this point
Browse repository at this point
Commits on May 5, 2019
CheckStl: Modernize the recommendations. string::starts_with is more intuitive than string::compare
danmar
committed
fe04c15
View commit details
Copy full SHA for fe04c15
View code at this point
Browse repository at this point
Commits on May 2, 2019
Add check for unnecessary search before insertion
Show description for 091f4bc
pfultz2
authored and
danmar
committed
091f4bc
View commit details
Copy full SHA for 091f4bc
View code at this point
Browse repository at this point
Commits on Mar 29, 2019
STL: Better out of bounds checking for empty containers when index is unknown
danmar
committed
54bea28
View commit details
Copy full SHA for 54bea28
View code at this point
Browse repository at this point
Clarify STL out of bounds warning message
danmar
committed
3c30d27
View commit details
Copy full SHA for 3c30d27
View code at this point
Browse repository at this point
Commits on Mar 28, 2019
Fixed #9039 (STL: array index out of bounds: str.begin() + 1)
danmar
committed
e88a0c0
View commit details
Copy full SHA for e88a0c0
View code at this point
Browse repository at this point
Commits on Mar 16, 2019
Disable all simplified checks
danmar
committed
3dc34f1
View commit details
Copy full SHA for 3dc34f1
View code at this point
Browse repository at this point
Commits on Mar 9, 2019
STL: Removed auto_ptr checking.
danmar
committed
f9fe6cc
View commit details
Copy full SHA for f9fe6cc
View code at this point
Browse repository at this point
Commits on Mar 8, 2019
Move CheckStl::missingComparison to normal checks
danmar
committed
725abbf
View commit details
Copy full SHA for 725abbf
View code at this point
Browse repository at this point
Commits on Feb 9, 2019
Update copyright year
danmar
committed
bd7790f
View commit details
Copy full SHA for bd7790f
View code at this point
Browse repository at this point
Commits on Jan 12, 2019
Use OVERRIDE in test
danmar
committed
8dd641b
View commit details
Copy full SHA for 8dd641b
View code at this point
Browse repository at this point
Commits on Dec 14, 2018
Fix FP 8891: Incorrect return scope when using uniform initialization
Show description for be6782d
pfultz2
authored and
danmar
committed
be6782d
View commit details
Copy full SHA for be6782d
View code at this point
Browse repository at this point
Commits on Nov 28, 2018
CheckStl: Improving checking of container access out of bounds
danmar
committed
dd94bfe
View commit details
Copy full SHA for dd94bfe
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.