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 }}
codingman
/
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
testnullpointer.cpp
on
revert-2679-patch-1
User selector
All users
Datepicker
All time
Commit history
Commits on Jun 13, 2020
Fix issue 9751: Wrong lifetime caused by std::function (#2676)
pfultz2
authored
06ed088
View commit details
Copy full SHA for 06ed088
View code at this point
Browse repository at this point
Commits on May 28, 2020
Fix issue 9701: False positive. 3rd expression in for uses comma operator. (#2664)
pfultz2
authored
c979859
View commit details
Copy full SHA for c979859
View code at this point
Browse repository at this point
Commits on May 21, 2020
Changed TODO_ASSERT_EQUALS, we have a false negative
danmar
committed
81d8686
View commit details
Copy full SHA for 81d8686
View code at this point
Browse repository at this point
Fix issue 8144: valueFlowBeforeCondition: struct (#2645)
pfultz2
authored
8301fa8
View commit details
Copy full SHA for 8301fa8
View code at this point
Browse repository at this point
Commits on May 19, 2020
Optimization: Reduced peak memory usage (30% in my test case) by immediately deleting simplecpp::TokenList while creating the cppcheck TokenList.
PKEuS
committed
c9d8f60
View commit details
Copy full SHA for c9d8f60
View code at this point
Browse repository at this point
Revert "TestTrac: Add separate file for black box / integration tests in testrunner"
Show description for 330e634
danmar
committed
330e634
View commit details
Copy full SHA for 330e634
View code at this point
Browse repository at this point
Commits on May 18, 2020
TestTrac: Add separate file for black box / integration tests in testrunner
danmar
committed
e895fa4
View commit details
Copy full SHA for e895fa4
View code at this point
Browse repository at this point
Commits on May 10, 2020
Update copyright year
danmar
committed
08ddd84
View commit details
Copy full SHA for 08ddd84
View code at this point
Browse repository at this point
Revert "Update copyright year"
Show description for 3e02182
danmar
committed
3e02182
View commit details
Copy full SHA for 3e02182
View code at this point
Browse repository at this point
Update copyright year
danmar
committed
6eec6c4
View commit details
Copy full SHA for 6eec6c4
View code at this point
Browse repository at this point
Commits on Apr 15, 2020
Add regression test for 9573: ValueFlow: Wrong tracking of value in function call (#2603)
pfultz2
authored
985c827
View commit details
Copy full SHA for 985c827
View code at this point
Browse repository at this point
Commits on Apr 13, 2020
cleaned up includes based on include-what-you-use (#2600)
Show description for 2c1e36e
firewave
authored
2c1e36e
View commit details
Copy full SHA for 2c1e36e
View code at this point
Browse repository at this point
Commits on Mar 1, 2020
Enable valueFlowSubfunction for multiple parameters (#2550)
pfultz2
authored
6ea4f60
View commit details
Copy full SHA for 6ea4f60
View code at this point
Browse repository at this point
Commits on Feb 19, 2020
Fix issue 7804: ValueFlow: possible value in second if body (#2543)
pfultz2
authored
392060a
View commit details
Copy full SHA for 392060a
View code at this point
Browse repository at this point
Commits on Feb 16, 2020
Use valueFlowGeneric for valueFlowForwardExpression (#2537)
pfultz2
authored
921887a
View commit details
Copy full SHA for 921887a
View code at this point
Browse repository at this point
Commits on Feb 13, 2020
Add generic valueflow forward analysis (#2511)
pfultz2
authored
7368a54
View commit details
Copy full SHA for 7368a54
View code at this point
Browse repository at this point
Commits on Jan 5, 2020
Astyle formatting [ci skip]
amai2012
committed
b621c35
View commit details
Copy full SHA for b621c35
View code at this point
Browse repository at this point
Fix issue 9541: false negative: knownConditionTrueFalse (#2473)
Show description for 90f82d0
pfultz2
authored and
danmar
committed
90f82d0
View commit details
Copy full SHA for 90f82d0
View code at this point
Browse repository at this point
Commits on Dec 15, 2019
isPointerDeref: Return false for function declarations
danmar
committed
36f3694
View commit details
Copy full SHA for 36f3694
View code at this point
Browse repository at this point
Commits on Dec 3, 2019
Fix issue 9196: Lambda confuses check (#2415)
pfultz2
authored and
danmar
committed
36977be
View commit details
Copy full SHA for 36977be
View code at this point
Browse repository at this point
Commits on Dec 1, 2019
Fix issue 9441: false positive: new(std::nothrow) and nullPointerRedundantCheck (#2403)
Show description for a71f58f
pfultz2
authored and
amai2012
committed
a71f58f
View commit details
Copy full SHA for a71f58f
View code at this point
Browse repository at this point
Commits on Nov 30, 2019
Fix issue 6850: Valueflow: pointer alias, conditional value (#2402)
pfultz2
authored and
danmar
committed
79a2e61
View commit details
Copy full SHA for 79a2e61
View code at this point
Browse repository at this point
Commits on Nov 27, 2019
testnullpointer.cpp: Add test for dereferencing returned NULL pointer (#2401)
Show description for fd900ab
versat
authored and
amai2012
committed
fd900ab
View commit details
Copy full SHA for fd900ab
View code at this point
Browse repository at this point
Commits on Nov 24, 2019
Fix #9478: Valueflow: printf does not change value (#2388)
Show description for c3c3d67
versat
authored
c3c3d67
View commit details
Copy full SHA for c3c3d67
View code at this point
Browse repository at this point
Commits on Nov 10, 2019
Fix issue 9439: false positive: unique_ptr and nullPointerRedundantCheck (#2346)
pfultz2
authored and
danmar
committed
6f29e29
View commit details
Copy full SHA for 6f29e29
View code at this point
Browse repository at this point
Commits on Nov 8, 2019
Fix issue 9404: False positive: Either the condition 'if(x)' is redundant or there is possible null pointer dereference: a->x (#2322)
Show description for c75bbbe
pfultz2
authored and
danmar
committed
c75bbbe
View commit details
Copy full SHA for c75bbbe
View code at this point
Browse repository at this point
Commits on Nov 4, 2019
Fix issue 9395 and 9423: False positive: nullPointerRedundantCheck (#2323)
pfultz2
authored and
danmar
committed
acd2a92
View commit details
Copy full SHA for acd2a92
View code at this point
Browse repository at this point
Commits on Oct 20, 2019
ValueFlow: Fixed false positives after escape scope
danmar
committed
78c02f0
View commit details
Copy full SHA for 78c02f0
View code at this point
Browse repository at this point
Fixed #8784 (False positive uninitialized variable)
danmar
committed
e50b9e2
View commit details
Copy full SHA for e50b9e2
View code at this point
Browse repository at this point
Commits on Oct 1, 2019
Formatted the code, there are no functional changes [ci skip].
orbitcowboy
committed
f05e21e
View commit details
Copy full SHA for f05e21e
View code at this point
Browse repository at this point
Commits on Sep 30, 2019
Fix issue 2153: valueFlowAfterCondition: struct member (#2228)
Show description for 166bd2b
pfultz2
authored and
danmar
committed
166bd2b
View commit details
Copy full SHA for 166bd2b
View code at this point
Browse repository at this point
Commits on Sep 20, 2019
astyle formatting
Show description for 049f647
danmar
committed
049f647
View commit details
Copy full SHA for 049f647
View code at this point
Browse repository at this point
Add impossible values to ValueFlow (#2186)
Show description for ad8abdb
pfultz2
authored and
danmar
committed
ad8abdb
View commit details
Copy full SHA for ad8abdb
View code at this point
Browse repository at this point
Commits on Sep 1, 2019
Add regression test for issue 9264: FP nullPointerRedundantCheck - pointer alias (#2133)
pfultz2
authored and
danmar
committed
9ef64eb
View commit details
Copy full SHA for 9ef64eb
View code at this point
Browse repository at this point
Commits on Aug 11, 2019
Fix issue 8296: ValueFlow: value not set in conditional scope in subfunction (#2071)
Show description for 9aa97cb
pfultz2
authored and
danmar
committed
9aa97cb
View commit details
Copy full SHA for 9aa97cb
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.