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
Accelerator
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 }}
devzero2000
/
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
testautovariables.cpp
on
main
User selector
All users
Datepicker
All time
Commit history
Commits on Feb 28, 2022
Fix 10702: FP knownConditionTrueFalse - Member variable modified (#3857)
Show description for 0b310b9
pfultz2
authored
0b310b9
View commit details
Copy full SHA for 0b310b9
View code at this point
Browse repository at this point
Commits on Feb 10, 2022
removed OVERRIDE and FINAL defines and use the keywords directly (#3767)
firewave
authored
f32583e
View commit details
Copy full SHA for f32583e
View code at this point
Browse repository at this point
Commits on Feb 8, 2022
Fix 10784: False positive: returnDanglingLifetime using std::tie with variadic template parameters (#3805)
pfultz2
authored
20a5224
View commit details
Copy full SHA for 20a5224
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 Jan 12, 2022
Fix #10469 FP returnTempReference with overloaded operator+= (#3678)
chrchr-github
authored
1b89c99
View commit details
Copy full SHA for 1b89c99
View code at this point
Browse repository at this point
Commits on Jan 10, 2022
Fix 10683: FP danglingTemporaryLifetime with pointer to vector (#3685)
pfultz2
authored
4ef20f8
View commit details
Copy full SHA for 4ef20f8
View code at this point
Browse repository at this point
Commits on Dec 23, 2021
AutovarDeallocation: Fix grammar in error message (#3654)
rikardfalkeborn
authored
8537331
View commit details
Copy full SHA for 8537331
View code at this point
Browse repository at this point
Commits on Dec 9, 2021
Fix #10600: FP invalid dealloc of function array argument (#3613)
Show description for e7b6920
rikardfalkeborn
authored
e7b6920
View commit details
Copy full SHA for e7b6920
View code at this point
Browse repository at this point
Commits on Dec 7, 2021
Fix 10641: FP invalidLifetime with compiler-generated constructor (#3609)
pfultz2
authored
3874c54
View commit details
Copy full SHA for 3874c54
View code at this point
Browse repository at this point
Commits on Dec 5, 2021
autovarInvalidDeallocation: Fix fp with impossible value (#3604)
Show description for 1a50146
rikardfalkeborn
authored
1a50146
View commit details
Copy full SHA for 1a50146
View code at this point
Browse repository at this point
Commits on Dec 4, 2021
Track lifetimes of lambdas that capture the 'this' variable (#3594)
pfultz2
authored
a03e731
View commit details
Copy full SHA for a03e731
View code at this point
Browse repository at this point
Commits on Nov 30, 2021
Fix #7341: Dealloc string literal (#3586)
rikardfalkeborn
authored
db4f94f
View commit details
Copy full SHA for db4f94f
View code at this point
Browse repository at this point
Commits on Nov 29, 2021
ASSERT() on calls to Tokenizer::tokenize() in test code (#3501)
chrchr-github
authored
ca311eb
View commit details
Copy full SHA for ca311eb
View code at this point
Browse repository at this point
Commits on Nov 28, 2021
Fix 7812: False negative: return pointer of local variable (#3583)
Show description for 57f5b19
pfultz2
authored
57f5b19
View commit details
Copy full SHA for 57f5b19
View code at this point
Browse repository at this point
Commits on Nov 15, 2021
Fix #10393 FP returnDanglingLifetime (#3562)
chrchr-github
authored
9c31e0c
View commit details
Copy full SHA for 9c31e0c
View code at this point
Browse repository at this point
Commits on Nov 11, 2021
Fix 10592: False positive: returnDanglingLifetime (#3557)
pfultz2
authored
c057dcc
View commit details
Copy full SHA for c057dcc
View code at this point
Browse repository at this point
Commits on Nov 8, 2021
Fix #10097: autovarInvalidDeallocation with pointer to std::array (#3529)
chrchr-github
authored
629f883
View commit details
Copy full SHA for 629f883
View code at this point
Browse repository at this point
Commits on Nov 6, 2021
Fix 10589: False positive: danglingLifetime for moved unique ptr (#3547)
pfultz2
authored
6338c23
View commit details
Copy full SHA for 6338c23
View code at this point
Browse repository at this point
Commits on Nov 4, 2021
Fix 10585: FP danglingTemporaryLifetime recent regression (#3544)
Show description for b835744
pfultz2
authored
b835744
View commit details
Copy full SHA for b835744
View code at this point
Browse repository at this point
Commits on Nov 1, 2021
Fix 10033: false negative: danglingTemporaryLifetime with usage of reference from nested object not detected (#3542)
pfultz2
authored
d3f0aa5
View commit details
Copy full SHA for d3f0aa5
View code at this point
Browse repository at this point
Fix 10575: Improve check; lifetime, struct member points to local data (#3541)
pfultz2
authored
7d7584b
View commit details
Copy full SHA for 7d7584b
View code at this point
Browse repository at this point
Commits on Oct 30, 2021
Partial fix for 10393: FP returnDanglingLifetime when constructing string from iterators [inconclusive] (#3536)
pfultz2
authored
e998cd1
View commit details
Copy full SHA for e998cd1
View code at this point
Browse repository at this point
Commits on Oct 15, 2021
Fix 10098: false negative: 'Reference to temporary returned.' not detected with class (#3509)
pfultz2
authored
876702c
View commit details
Copy full SHA for 876702c
View code at this point
Browse repository at this point
Commits on Oct 6, 2021
Find dangling pointers to unique_ptr (#3486)
pfultz2
authored
25eb0ab
View commit details
Copy full SHA for 25eb0ab
View code at this point
Browse repository at this point
Commits on Oct 5, 2021
Add support for string_view (#3480)
pfultz2
authored
8668d44
View commit details
Copy full SHA for 8668d44
View code at this point
Browse repository at this point
Commits on Oct 4, 2021
Fix FP due to namespace scope (#3475)
KenPatrickLehrmann
authored
61cddab
View commit details
Copy full SHA for 61cddab
View code at this point
Browse repository at this point
Commits on Sep 13, 2021
Add regression test for #10473 (#3457)
chrchr-github
authored
2d3b8d7
View commit details
Copy full SHA for 2d3b8d7
View code at this point
Browse repository at this point
Commits on Sep 4, 2021
Fix 10163: false positive: lifetime for r is not same as for seq 'for (auto& r: seq)' (#3442)
pfultz2
authored
28bc717
View commit details
Copy full SHA for 28bc717
View code at this point
Browse repository at this point
Commits on Aug 31, 2021
Regression test for 9811: False positive: Reference to temporary returned (#3434)
pfultz2
authored
a9a6e4c
View commit details
Copy full SHA for a9a6e4c
View code at this point
Browse repository at this point
Fix 10318: iterator converted to type, wrong scope check (#3433)
pfultz2
authored
7ce17f0
View commit details
Copy full SHA for 7ce17f0
View code at this point
Browse repository at this point
Commits on Aug 25, 2021
Fix 10425: False positive: returnDanglingLifetime when taking address of captured variable (#3415)
pfultz2
authored
8ddc576
View commit details
Copy full SHA for 8ddc576
View code at this point
Browse repository at this point
Commits on Aug 14, 2021
Symboldatabase: Improve valuetypes for containers, iterators, and smart pointers (#3398)
pfultz2
authored
fdaeaac
View commit details
Copy full SHA for fdaeaac
View code at this point
Browse repository at this point
Commits on Aug 7, 2021
Format with uncrustify (#3388)
pfultz2
authored
7f358b2
View commit details
Copy full SHA for 7f358b2
View code at this point
Browse repository at this point
Commits on Aug 4, 2021
Fix FP when returning a pointer to a container (#3379)
pfultz2
authored
4626f9e
View commit details
Copy full SHA for 4626f9e
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.