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
Type
/
to 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 }}
Uh oh!
There was an error while loading.
Please reload this page
.
cppcheck-opensource
/
cppcheck
Public
Notifications
You must be signed in to change notification settings
Fork
1.6k
Star
6.7k
Code
Pull requests
196
Actions
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Security and quality
Insights
Commits
Breadcrumbs
History for
cppcheck
test
testnullpointer.cpp
on
main
User selector
All users
All time
Commit history
Commits on Jul 29, 2026
Fix 14937: False positive: inconclusive nullPointerRedundantCheck with thunk (#8755)
pfultz2
authored
8effc6c
View commit details
Copy full SHA for 8effc6c
View code at this point
Browse repository at this point
Commits on Jul 23, 2026
Fix #14894: false positive: co_return not recognized as return in combination with {} (#8741)
ludviggunne
authored
d272996
View commit details
Copy full SHA for d272996
View code at this point
Browse repository at this point
Commits on Jul 21, 2026
Add test for #14422 (#8742)
Show description for 678290c
chrchr-github
and
web-flow
authored
678290c
View commit details
Copy full SHA for 678290c
View code at this point
Browse repository at this point
Commits on Jul 10, 2026
Fix issue 14892: Inconsistent nullPointerOutOfResources after possible noreturn function (#8700)
Show description for b839fa5
pfultz2
and
Your Name
authored
b839fa5
View commit details
Copy full SHA for b839fa5
View code at this point
Browse repository at this point
Commits on Jul 4, 2026
Partial fix for 9049: False negative: uninitialized variable with nested ifs (#8680)
Show description for bcd74c7
pfultz2
and
Your Name
authored
bcd74c7
View commit details
Copy full SHA for bcd74c7
View code at this point
Browse repository at this point
Commits on Jun 25, 2026
Fix issue 13682: false negative: nullPointerRedundantCheck (multiple conditions, regression) (#8669)
Show description for 887b5d2
pfultz2
and
Your Name
authored
887b5d2
View commit details
Copy full SHA for 887b5d2
View code at this point
Browse repository at this point
Commits on Jun 2, 2026
some `Check::FileInfo`/`CTU::FileInfo` usage cleanups (#8612)
firewave
authored
21ea669
View commit details
Copy full SHA for 21ea669
View code at this point
Browse repository at this point
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 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 18, 2026
testrunner: do not use global check instances (#8561)
firewave
authored
39d9c01
View commit details
Copy full SHA for 39d9c01
View code at this point
Browse repository at this point
Commits on May 9, 2026
Fix #14728 FP ctunullpointer with std::optional (#8536)
chrchr-github
authored
2d6f23e
View commit details
Copy full SHA for 2d6f23e
View code at this point
Browse repository at this point
Commits on Apr 30, 2026
TestNullPointer: avoid unnecessary `Settings` creations (#8511)
firewave
authored
9f57635
View commit details
Copy full SHA for 9f57635
View code at this point
Browse repository at this point
Commits on Apr 26, 2026
Fix #6492 valueflow: for loop condition not used for conditional analysis (#8472)
Show description for aec1a7f
chrchr-github
and
web-flow
authored
aec1a7f
View commit details
Copy full SHA for aec1a7f
View code at this point
Browse repository at this point
Commits on Apr 25, 2026
Partial fix for #6710 FN nullPointerRedundantCheck after pointer usage in for init statement (#8471)
chrchr-github
authored
9988cd5
View commit details
Copy full SHA for 9988cd5
View code at this point
Browse repository at this point
Commits on Apr 2, 2026
Fix #14175 duplicated nullPointer (#8393)
chrchr-github
authored
18eb218
View commit details
Copy full SHA for 18eb218
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 28, 2026
Fix #14544 FP nullPointerRedundantCheck (array argument) (#8271)
chrchr-github
authored
9d674c2
View commit details
Copy full SHA for 9d674c2
View code at this point
Browse repository at this point
Commits on Feb 14, 2026
Fix #14308 FP nullPointerRedundantCheck with pointer reference parameter (*&) (#8197)
chrchr-github
authored
5fc51d1
View commit details
Copy full SHA for 5fc51d1
View code at this point
Browse repository at this point
Commits on Feb 10, 2026
Fix #13797 FN nullPointer with negated if-condition (regression) (#8172)
Show description for 8b64840
chrchr-github
and
web-flow
authored
8b64840
View commit details
Copy full SHA for 8b64840
View code at this point
Browse repository at this point
Commits on Jan 23, 2026
Fix #14098 FN nullPointer constructing std::string from known function result (regression) (#8141)
chrchr-github
authored
cde1b8d
View commit details
Copy full SHA for cde1b8d
View code at this point
Browse repository at this point
Commits on Jan 21, 2026
Fix #13220 FN nullPointerRedundantCheck with constructor (regression) (#8132)
chrchr-github
authored
bb8a593
View commit details
Copy full SHA for bb8a593
View code at this point
Browse repository at this point
Commits on Nov 7, 2025
testrunner: several cleanups (#7944)
Show description for 7e09fa0
firewave
authored
7e09fa0
View commit details
Copy full SHA for 7e09fa0
View code at this point
Browse repository at this point
Commits on Oct 30, 2025
Fix #14164 FN nullPointerRedundantCheck with ternary in function call (#7894)
Show description for 32ab9d1
chrchr-github
and
web-flow
authored
32ab9d1
View commit details
Copy full SHA for 32ab9d1
View code at this point
Browse repository at this point
Commits on Oct 22, 2025
Fix #13858, #13863 Add tests for nullpointerOutOfResources, purgedConfiguration (#7906)
Show description for 107d10e
chrchr-github
and
web-flow
authored
107d10e
View commit details
Copy full SHA for 107d10e
View code at this point
Browse repository at this point
Commits on Oct 15, 2025
testrunner: removed unnecessary default constructors from test options (#7889)
firewave
authored
59d9ba3
View commit details
Copy full SHA for 59d9ba3
View code at this point
Browse repository at this point
Commits on Sep 24, 2025
testrunner: avoid some `TestFixture::settingsBuilder()` invocations (#7845)
firewave
authored
f916df0
View commit details
Copy full SHA for f916df0
View code at this point
Browse repository at this point
Commits on Jun 30, 2025
cleaned up includes based on include-what-you-use (#7638)
Show description for dfa16af
firewave
authored
dfa16af
View commit details
Copy full SHA for dfa16af
View code at this point
Browse repository at this point
Commits on Jun 24, 2025
Fix #13959 Support nullptr in C23 (#7621)
chrchr-github
authored
5f4423f
View commit details
Copy full SHA for 5f4423f
View code at this point
Browse repository at this point
Commits on Jun 21, 2025
Fix #10431 FP one-definition-rule if struct in mutually exclusive #ifdef branches (#7584)
Show description for 8b66b1c
chrchr-github
and
web-flow
authored
8b66b1c
View commit details
Copy full SHA for 8b66b1c
View code at this point
Browse repository at this point
Commits on Jun 17, 2025
fix #13861: Tokenizer/ValueFlow: wrong handling of struct initialization (#7604)
ludviggunne
authored
43adf75
View commit details
Copy full SHA for 43adf75
View code at this point
Browse repository at this point
Commits on May 25, 2025
fix #13881: Stack overflow in findTokensSkipDeadCodeImpl() (#7545)
Show description for f1fa374
ludviggunne
authored
f1fa374
View commit details
Copy full SHA for f1fa374
View code at this point
Browse repository at this point
Commits on May 16, 2025
testrunner: aligned multiline template with new default (#7534)
firewave
authored
69a11d6
View commit details
Copy full SHA for 69a11d6
View code at this point
Browse repository at this point
Commits on Apr 15, 2025
testrunner: some `SimpleTokenizer` refactoring (#7467)
firewave
authored
20681a3
View commit details
Copy full SHA for 20681a3
View code at this point
Browse repository at this point
Commits on Apr 10, 2025
testrunner: added more IDs and columns to expected test output (#7444)
firewave
authored
5702fd2
View commit details
Copy full SHA for 5702fd2
View code at this point
Browse repository at this point
Commits on Apr 7, 2025
testrunner: some `Tokenizer` related refactoring (#7427)
firewave
authored
44d097d
View commit details
Copy full SHA for 44d097d
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.