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 }}
cppcheck-opensource
/
cppcheck
Public
Notifications
You must be signed in to change notification settings
Fork
1.6k
Star
6.8k
Code
Pull requests
214
Actions
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Security and quality
Insights
Commits
Breadcrumbs
History for
cppcheck
lib
checknullpointer.cpp
on
2.0
User selector
All users
Datepicker
All time
Commit history
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 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 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 1, 2020
Refactoring; CWEs should be clarified
danmar
committed
b44029c
View commit details
Copy full SHA for b44029c
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 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 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 Oct 12, 2019
Move necessary code into valuetype (#2265)
Show description for 19cf636
pfultz2
authored and
danmar
committed
19cf636
View commit details
Copy full SHA for 19cf636
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 Apr 26, 2019
Improve diagnostics with null smart pointers (#1805)
Show description for 39f4374
pfultz2
authored and
danmar
committed
39f4374
View commit details
Copy full SHA for 39f4374
View code at this point
Browse repository at this point
Commits on Mar 23, 2019
CheckBufferOverrun: Add CTU analysis
danmar
committed
15fc9a6
View commit details
Copy full SHA for 15fc9a6
View code at this point
Browse repository at this point
Commits on Mar 17, 2019
CheckNullPointer: Use library instead of hardcoding
danmar
committed
b0c92c1
View commit details
Copy full SHA for b0c92c1
View code at this point
Browse repository at this point
Commits on Mar 16, 2019
Refactoring of Null Pointer Checker
danmar
committed
87fe5c0
View commit details
Copy full SHA for 87fe5c0
View code at this point
Browse repository at this point
Commits on Mar 8, 2019
checknullpointer: Remove duplicated include (#1732)
rikardfalkeborn
authored and
danmar
committed
a53b016
View commit details
Copy full SHA for a53b016
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 Dec 31, 2018
CheckNullPointer: Try to report all CTU issues not just the first found issue
danmar
committed
37a3544
View commit details
Copy full SHA for 37a3544
View code at this point
Browse repository at this point
Commits on Dec 30, 2018
CTU: more warnings
danmar
committed
91a580c
View commit details
Copy full SHA for 91a580c
View code at this point
Browse repository at this point
CTU: Find paths better
danmar
committed
c8901e9
View commit details
Copy full SHA for c8901e9
View code at this point
Browse repository at this point
astyle formatting
Show description for b3fcd8a
danmar
committed
b3fcd8a
View commit details
Copy full SHA for b3fcd8a
View code at this point
Browse repository at this point
CTU: Refactoring the xml load/write. Renamed members.
danmar
committed
378e083
View commit details
Copy full SHA for 378e083
View code at this point
Browse repository at this point
Commits on Dec 29, 2018
CheckNullPointer: Add missing id 'nullPointerArithmeticRedundantCheck' to errorlist (#1535)
Show description for 3f31854
ivangalkin
authored and
danmar
committed
3f31854
View commit details
Copy full SHA for 3f31854
View code at this point
Browse repository at this point
CTU: Reuse CheckNullPointer::isPointerDeRef in the nullpointer isUnsafeUsage
danmar
committed
d18f5d8
View commit details
Copy full SHA for d18f5d8
View code at this point
Browse repository at this point
Commits on Dec 26, 2018
CTU: Refactor isUnsafeFunction
danmar
committed
a788512
View commit details
Copy full SHA for a788512
View code at this point
Browse repository at this point
CTU: Refactoring; getErrorPath
danmar
committed
a6e227a
View commit details
Copy full SHA for a6e227a
View code at this point
Browse repository at this point
CTU: Refactoring, create ErrorPath in ctu
danmar
committed
e39be48
View commit details
Copy full SHA for e39be48
View code at this point
Browse repository at this point
Commits on Dec 25, 2018
CTU: Refactoring
danmar
committed
271763e
View commit details
Copy full SHA for 271763e
View code at this point
Browse repository at this point
Commits on Dec 18, 2018
Take back the whole program analysis for null pointers and uninitialized variables
danmar
committed
0f63874
View commit details
Copy full SHA for 0f63874
View code at this point
Browse repository at this point
Commits on Jul 14, 2018
Clarify code with Token::isUnaryOp()
danmar
committed
0c84475
View commit details
Copy full SHA for 0c84475
View code at this point
Browse repository at this point
Refactoring: Use range for loops
danmar
committed
449c48f
View commit details
Copy full SHA for 449c48f
View code at this point
Browse repository at this point
Commits on Jun 16, 2018
Rename _tokenizer, _settings, _errorLogger
danmar
committed
79ffe1d
View commit details
Copy full SHA for 79ffe1d
View code at this point
Browse repository at this point
Commits on Jun 3, 2018
Modernize: use ranged for loops in CheckNullPointer
danmar
committed
df9b243
View commit details
Copy full SHA for df9b243
View code at this point
Browse repository at this point
Commits on May 10, 2018
astyle formatting
Show description for 7b6ddc5
danmar
committed
7b6ddc5
View commit details
Copy full SHA for 7b6ddc5
View code at this point
Browse repository at this point
Commits on May 9, 2018
Fix false positive when using null arithmetic with class type (#1214)
pfultz2
authored and
danmar
committed
0197343
View commit details
Copy full SHA for 0197343
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.