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 }}
devlato
/
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
master
User selector
All users
Datepicker
All time
Commit history
Commits on Jan 27, 2014
CheckNullPointer: Update std.cfg and test that updates are correct
danmar
committed
b8b5733
View commit details
Copy full SHA for b8b5733
View code at this point
Browse repository at this point
Commits on Jan 26, 2014
TestNullPointer: Added test configuration for 'memcmp' that is needed by a test
danmar
committed
87b67e9
View commit details
Copy full SHA for 87b67e9
View code at this point
Browse repository at this point
Commits on Jan 22, 2014
Remove ExecutionPath from CheckNullPointer
danmar
committed
1d7bb05
View commit details
Copy full SHA for 1d7bb05
View code at this point
Browse repository at this point
value flow: replacing executionpath checking of null pointers
danmar
committed
f3f7e6d
View commit details
Copy full SHA for f3f7e6d
View code at this point
Browse repository at this point
value flow: use more specific bailouts when analysing value flow after assignment
danmar
committed
43db1ee
View commit details
Copy full SHA for 43db1ee
View code at this point
Browse repository at this point
value flow: a bit better handling of assigned variable
danmar
committed
cc38dec
View commit details
Copy full SHA for cc38dec
View code at this point
Browse repository at this point
Commits on Jan 21, 2014
value flow: start implementing value flow analysis of assigned value
danmar
committed
a27ccbd
View commit details
Copy full SHA for a27ccbd
View code at this point
Browse repository at this point
Commits on Jan 17, 2014
Removed the --value-flow flag. ValueFlow analysis will always be enabled from now on.
danmar
committed
30cae35
View commit details
Copy full SHA for 30cae35
View code at this point
Browse repository at this point
Commits on Jan 12, 2014
value flow: use checknullpointer checking based on new value flow analysis in the TestNullPointer
danmar
committed
c9e9262
View commit details
Copy full SHA for c9e9262
View code at this point
Browse repository at this point
CheckNullPointer: improved function call checking when new value flow analysis is used
danmar
committed
5d2a39b
View commit details
Copy full SHA for 5d2a39b
View code at this point
Browse repository at this point
reverted change I pushed by mistake
danmar
committed
bef56d7
View commit details
Copy full SHA for bef56d7
View code at this point
Browse repository at this point
dmake: use -std=c++0x instead of -std=c++11 as it's supported by earlier gcc
danmar
committed
4246759
View commit details
Copy full SHA for 4246759
View code at this point
Browse repository at this point
Commits on Jan 8, 2014
value flow: starting to refactor CheckNullPointer::nullPointerDeRefThenCheck
danmar
committed
7c4a7ac
View commit details
Copy full SHA for 7c4a7ac
View code at this point
Browse repository at this point
Commits on Jan 3, 2014
Fixed #5274 (TokenList: macro handling)
danmar
committed
7125682
View commit details
Copy full SHA for 7125682
View code at this point
Browse repository at this point
Commits on Dec 30, 2013
Splitted simplification out of tokenize()
PKEuS
committed
4f0121e
View commit details
Copy full SHA for 4f0121e
View code at this point
Browse repository at this point
Commits on Dec 26, 2013
Fixed VS compiler warning. Using 'struct' for class. Thanks XhmikosR for reporting.
danmar
committed
872b6e8
View commit details
Copy full SHA for 872b6e8
View code at this point
Browse repository at this point
Commits on Nov 8, 2013
Null pointers: Don't warn when first argument to freopen() is NULL
danmar
committed
20b84fc
View commit details
Copy full SHA for 20b84fc
View code at this point
Browse repository at this point
Commits on Nov 4, 2013
Fixed #5108 (false positive: uninitialized variable (assignment in function parameter))
danmar
committed
7996d60
View commit details
Copy full SHA for 7996d60
View code at this point
Browse repository at this point
Commits on Nov 2, 2013
Fixed #4983 (False positive warning 'Possible null pointer dereference: lblList - otherwise it is redundant to check it against null.' with sizeof lblList[0])
danmar
committed
5f0cfa0
View commit details
Copy full SHA for 5f0cfa0
View code at this point
Browse repository at this point
Commits on Oct 27, 2013
Merge pull request #183 from felipensp/null_ptr_typeof
Show description for 4a6274d
danmar
committed
4a6274d
View commit details
Copy full SHA for 4a6274d
View code at this point
Browse repository at this point
Commits on Oct 22, 2013
Fixed #4929 (False positive: possible null pointer deref (checks dont handle && and || well))
danmar
committed
fd0f2d7
View commit details
Copy full SHA for fd0f2d7
View code at this point
Browse repository at this point
Commits on Oct 20, 2013
Fixed #5082 (False positive: (error) Possible null pointer dereference: p2)
danmar
committed
fc26de8
View commit details
Copy full SHA for fc26de8
View code at this point
Browse repository at this point
Commits on Oct 12, 2013
- Fixed false positive when passing pointer to typeof()
felipensp
committed
ecb0e70
View commit details
Copy full SHA for ecb0e70
View code at this point
Browse repository at this point
Fixed #5080 ((error) Internal error. Token::Match called with varid 0. Please report this to Cppcheck developers)
IOBYTE
authored and
danmar
committed
1fccfd5
View commit details
Copy full SHA for 1fccfd5
View code at this point
Browse repository at this point
Commits on Aug 24, 2013
Fixed FP: Null pointer dereference
lucasmrod
committed
a70b0cd
View commit details
Copy full SHA for a70b0cd
View code at this point
Browse repository at this point
Commits on Aug 7, 2013
Updated to AStyle 2.03, require this version
PKEuS
committed
a9a5dc0
View commit details
Copy full SHA for a9a5dc0
View code at this point
Browse repository at this point
Commits on Jul 22, 2013
Library: added <formatstr> and <strz> to argument checks
danmar
committed
a1fafa7
View commit details
Copy full SHA for a1fafa7
View code at this point
Browse repository at this point
Commits on Jul 16, 2013
Library: Renamed Argument to ArgumentChecks to make it a bit more clear
danmar
committed
fa7f8dd
View commit details
Copy full SHA for fa7f8dd
View code at this point
Browse repository at this point
Library: fixed problems
danmar
committed
d25e7d4
View commit details
Copy full SHA for d25e7d4
View code at this point
Browse repository at this point
Commits on Jul 15, 2013
astyle formatting
danmar
committed
24dfc05
View commit details
Copy full SHA for 24dfc05
View code at this point
Browse repository at this point
Library: Improved handling in CheckNullPointer::parseFunctionCall for Library data
danmar
committed
7443883
View commit details
Copy full SHA for 7443883
View code at this point
Browse repository at this point
Commits on Jun 26, 2013
Fixed #4728 (simplify known variables better (%var% & %num%, bitwise and))
danmar
committed
c389e08
View commit details
Copy full SHA for c389e08
View code at this point
Browse repository at this point
Commits on Jun 7, 2013
Fixed #4809 (Review CheckNullPointer::parseFunctionCall)
danmar
committed
10849e2
View commit details
Copy full SHA for 10849e2
View code at this point
Browse repository at this point
Commits on May 3, 2013
Fixed #4734 (False 'Possible null pointer dereference')
danmar
committed
079d22f
View commit details
Copy full SHA for 079d22f
View code at this point
Browse repository at this point
Commits on Apr 25, 2013
Fixed #4510 (False positive: "Possible null pointer dereference if the default parameter value is used" after init)
Zachary Blair
committed
3566838
View commit details
Copy full SHA for 3566838
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.