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 }}
cppchecksolutions
/
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
lib
checkautovariables.cpp
on
main
User selector
All users
Datepicker
All time
Commit history
Commits on Jul 3, 2026
pass `Library` instead of `Settings` (#8660)
firewave
authored
c164444
View commit details
Copy full SHA for c164444
View code at this point
Browse repository at this point
Commits on Jun 4, 2026
Fix #14772 FN returnDanglingLifetime for new expression (#8570)
chrchr-github
authored
bb69f66
View commit details
Copy full SHA for bb69f66
View code at this point
Browse repository at this point
Commits on Jun 2, 2026
pass `ErrorLogger` by reference in `Check`/`CheckImpl` (#8601)
firewave
authored
8684514
View commit details
Copy full SHA for 8684514
View code at this point
Browse repository at this point
Commits on May 29, 2026
pass `Settings` by reference in checks (#8593)
firewave
authored
98ac18e
View commit details
Copy full SHA for 98ac18e
View code at this point
Browse repository at this point
Commits on May 28, 2026
split the actual check implementations from the instances (#5323)
firewave
authored
f1379d6
View commit details
Copy full SHA for f1379d6
View code at this point
Browse repository at this point
Commits on May 16, 2026
refs #14498 - do not create global static instances of the checks (#8555)
firewave
authored
f7f0549
View commit details
Copy full SHA for f7f0549
View code at this point
Browse repository at this point
Commits on Apr 9, 2026
Fix #14639 FN danglingLifetime (address stored in non-local container) (#8406)
Show description for 2eb4e94
chrchr-github
and
web-flow
authored
2eb4e94
View commit details
Copy full SHA for 2eb4e94
View code at this point
Browse repository at this point
Commits on Mar 4, 2026
Fix #14478: FN autoVariables for array of structs (#8247)
ludviggunne
authored
2dac535
View commit details
Copy full SHA for 2dac535
View code at this point
Browse repository at this point
Commits on Mar 2, 2026
Release: Update copyright year (#8285)
danmar
authored
9a00e4a
View commit details
Copy full SHA for 9a00e4a
View code at this point
Browse repository at this point
Commits on Feb 14, 2026
Partial fix for #10976 FN autoVariables [inconclusive] (regression) (#8170)
chrchr-github
authored
9042302
View commit details
Copy full SHA for 9042302
View code at this point
Browse repository at this point
Commits on Feb 6, 2026
Fix #14465 duplicated returnDanglingLifetime (#8184)
Show description for 792a761
chrchr-github
and
web-flow
authored
792a761
View commit details
Copy full SHA for 792a761
View code at this point
Browse repository at this point
Commits on Jan 21, 2026
updated CI to Clang 22 (#7723)
firewave
authored
fd1019a
View commit details
Copy full SHA for fd1019a
View code at this point
Browse repository at this point
Commits on Nov 11, 2025
Fix #14257 FP autoVariables, local struct with pointer that points at global data (#7954)
chrchr-github
authored
359ae22
View commit details
Copy full SHA for 359ae22
View code at this point
Browse repository at this point
Commits on Jun 24, 2025
avoid some unnecessary copies around `ErrorMessage` construction (#4665)
firewave
authored
129055d
View commit details
Copy full SHA for 129055d
View code at this point
Browse repository at this point
Commits on Apr 18, 2025
Fix #13787 nullptr dereference in autoVariables() (#7471)
Show description for f537feb
chrchr-github
and
web-flow
authored
f537feb
View commit details
Copy full SHA for f537feb
View code at this point
Browse repository at this point
Commits on Mar 27, 2025
fixed missing parameter to `astContainer*()` calls (#7403)
firewave
authored
06f6f1c
View commit details
Copy full SHA for 06f6f1c
View code at this point
Browse repository at this point
changed some parameters from pointers to references (#7408)
firewave
authored
21dd3bd
View commit details
Copy full SHA for 21dd3bd
View code at this point
Browse repository at this point
Commits on Mar 5, 2025
symboldatabase.h: make it possible to forward declare `ScopeType` (#7352)
firewave
authored
f880119
View commit details
Copy full SHA for f880119
View code at this point
Browse repository at this point
Commits on Feb 23, 2025
release: Update copyright year (#7319)
danmar
authored
11f0f4d
View commit details
Copy full SHA for 11f0f4d
View code at this point
Browse repository at this point
Commits on Jan 16, 2025
Fix #10902 / #13560 FN danglingLifetime (stack address stored in static variable) (#7225)
chrchr-github
authored
74da655
View commit details
Copy full SHA for 74da655
View code at this point
Browse repository at this point
Commits on Jan 15, 2025
Fix #11393 FP danglingLifetime with pointer to pointer (#7226)
chrchr-github
authored
1cce204
View commit details
Copy full SHA for 1cce204
View code at this point
Browse repository at this point
Commits on Jan 1, 2025
moved `runChecks()` and `getErrorMessages()` implementions of checks into source files (#7139)
firewave
authored
f441e77
View commit details
Copy full SHA for f441e77
View code at this point
Browse repository at this point
enabled and fixed `modernize-use-auto` clang-tidy warnings (#6969)
firewave
authored
e228821
View commit details
Copy full SHA for e228821
View code at this point
Browse repository at this point
Commits on Apr 26, 2024
changed most `Settings` pointers to references (#6298)
firewave
authored
b7360ce
View commit details
Copy full SHA for b7360ce
View code at this point
Browse repository at this point
Commits on Apr 20, 2024
Update copyright year (#6310)
danmar
authored
58030b8
View commit details
Copy full SHA for 58030b8
View code at this point
Browse repository at this point
Commits on Apr 15, 2024
avoid even more unchecked pointer dereferences / changed some pointers to references (#6296)
firewave
authored
087fd79
View commit details
Copy full SHA for 087fd79
View code at this point
Browse repository at this point
Commits on Mar 10, 2024
reduced `Tokenizer::isCPP()` usage / SymbolDatabase: removed `mIsCpp` and `isCPP()` (#5725)
Show description for 40cc208
firewave
authored
40cc208
View commit details
Copy full SHA for 40cc208
View code at this point
Browse repository at this point
Commits on Mar 5, 2024
reduced `Tokenizer::isC()` usage (#5724)
Show description for 14833a4
firewave
authored
14833a4
View commit details
Copy full SHA for 14833a4
View code at this point
Browse repository at this point
Commits on Feb 5, 2024
fixed many `COPY_INSTEAD_OF_MOVE` Coverity warnings (#5944)
firewave
authored
a2ecf17
View commit details
Copy full SHA for a2ecf17
View code at this point
Browse repository at this point
Commits on Jan 21, 2024
Fixed #12370 (Premium misra/cert/autosar: enable all corresponding checkers in open source cppcheck) (#5901)
danmar
authored
309aa8a
View commit details
Copy full SHA for 309aa8a
View code at this point
Browse repository at this point
Commits on Jan 17, 2024
avoid most unchecked dereferences of `Settings` (#5878)
firewave
authored
c996bdb
View commit details
Copy full SHA for c996bdb
View code at this point
Browse repository at this point
Commits on Nov 12, 2023
Fix #12173 FP danglingTempReference with loop over init list (#5652)
chrchr-github
authored
212d214
View commit details
Copy full SHA for 212d214
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 Jun 29, 2023
Fix autovarInvalidDeallocation regression (#5203)
chrchr-github
authored
818ebb8
View commit details
Copy full SHA for 818ebb8
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
Previous
Next
You can’t perform that action at this time.