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 }}
Lin-Deng
/
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
astutils.cpp
on
master
User selector
All users
Datepicker
All time
Commit history
Commits on Aug 8, 2019
Typos found by running "codespell" (#2072)
arm-in
authored and
danmar
committed
785cc69
View commit details
Copy full SHA for 785cc69
View code at this point
Browse repository at this point
Fix issue 9207: Not detected 'always true' and unreachable code
pfultz2
authored and
danmar
committed
bd02ca5
View commit details
Copy full SHA for bd02ca5
View code at this point
Browse repository at this point
Commits on Jul 29, 2019
Make the code a bit more robust
danmar
committed
3ad9d6a
View commit details
Copy full SHA for 3ad9d6a
View code at this point
Browse repository at this point
ValueFlow: Improve bailout for structs etc in loops
danmar
committed
607b3da
View commit details
Copy full SHA for 607b3da
View code at this point
Browse repository at this point
Commits on Jul 26, 2019
Fix issue 9235: new crash in astutils isVariableChanged from endless recursion (#2040)
pfultz2
authored and
danmar
committed
ee28a45
View commit details
Copy full SHA for ee28a45
View code at this point
Browse repository at this point
Commits on Jul 24, 2019
Fixed #9062 (False positive "condition is always true")
danmar
committed
bbcffce
View commit details
Copy full SHA for bbcffce
View code at this point
Browse repository at this point
Fixed compiler warnings
danmar
committed
6c82685
View commit details
Copy full SHA for 6c82685
View code at this point
Browse repository at this point
Add check for const variables
Show description for bb52a63
pfultz2
authored and
danmar
committed
bb52a63
View commit details
Copy full SHA for bb52a63
View code at this point
Browse repository at this point
Commits on Jul 18, 2019
Switch to use lifetime analysis for iterators and pointers to invalid containers
Show description for a08a9c1
pfultz2
authored and
danmar
committed
a08a9c1
View commit details
Copy full SHA for a08a9c1
View code at this point
Browse repository at this point
Commits on Jul 17, 2019
Modernize: Use enum class for Library::Action and Library::Yield
danmar
committed
9973db3
View commit details
Copy full SHA for 9973db3
View code at this point
Browse repository at this point
Commits on Jul 14, 2019
Mark members and arguments with 'nonneg'
danmar
committed
0014fe8
View commit details
Copy full SHA for 0014fe8
View code at this point
Browse repository at this point
Commits on Jul 13, 2019
Avoid 'unsigned' in astutils
danmar
committed
5d853bc
View commit details
Copy full SHA for 5d853bc
View code at this point
Browse repository at this point
Commits on Jul 7, 2019
Fix issue 3695: Handle class pointers
Show description for b0d1027
pfultz2
authored and
danmar
committed
b0d1027
View commit details
Copy full SHA for b0d1027
View code at this point
Browse repository at this point
Commits on Jul 3, 2019
Fix false positive 9167 (#1904)
Show description for d6f6e68
Ken-Patrick
authored and
danmar
committed
d6f6e68
View commit details
Copy full SHA for d6f6e68
View code at this point
Browse repository at this point
Commits on Jun 21, 2019
Token::index(): Created Token member that indicates the Token position in the token list. It can be used to quickly check if tok1 precedes tok2.
danmar
committed
beea7fa
View commit details
Copy full SHA for beea7fa
View code at this point
Browse repository at this point
Commits on Jun 17, 2019
FP on assignment through pointer (#1887)
Show description for 44d6066
Ken-Patrick
authored and
danmar
committed
44d6066
View commit details
Copy full SHA for 44d6066
View code at this point
Browse repository at this point
Commits on May 31, 2019
Fixed #8997 (False positive redundantAssignment when pointer is updated with +=)
danmar
committed
5d10b57
View commit details
Copy full SHA for 5d10b57
View code at this point
Browse repository at this point
Running astyle [ci skip].
orbitcowboy
committed
79ab9cf
View commit details
Copy full SHA for 79ab9cf
View code at this point
Browse repository at this point
Fix FP with unreadVariable (#1859)
pfultz2
authored and
danmar
committed
108cdaa
View commit details
Copy full SHA for 108cdaa
View code at this point
Browse repository at this point
Commits on May 18, 2019
Fix #9130 (FP memory leak with NULL pointer cast) (#1839)
rikardfalkeborn
authored and
danmar
committed
ada881c
View commit details
Copy full SHA for ada881c
View code at this point
Browse repository at this point
Commits on Apr 28, 2019
Refactoring: Use stl algorithm
danmar
committed
fd4e371
View commit details
Copy full SHA for fd4e371
View code at this point
Browse repository at this point
Commits on Apr 16, 2019
Fixed #9043 (false positive & regression: Variable '*s' is reassigned a value before the old one has been used.)
danmar
committed
253f2c9
View commit details
Copy full SHA for 253f2c9
View code at this point
Browse repository at this point
Commits on Apr 15, 2019
Fix issue 9006: False positive: Return value of function std::move() is not used.
Show description for a90caa7
pfultz2
authored and
danmar
committed
a90caa7
View commit details
Copy full SHA for a90caa7
View code at this point
Browse repository at this point
Commits on Mar 30, 2019
Fixed slow checking in FwdAnalysis
Show description for 51b6419
danmar
committed
51b6419
View commit details
Copy full SHA for 51b6419
View code at this point
Browse repository at this point
Commits on Mar 26, 2019
Fix #8922 (SIGSEGV below exprDependsOnThis - stack overflow?) (#1761)
Show description for 29815b2
versat
authored
29815b2
View commit details
Copy full SHA for 29815b2
View code at this point
Browse repository at this point
Commits on Mar 24, 2019
getArguments: Avoid too deep recursion in array initialization
danmar
committed
7995b2f
View commit details
Copy full SHA for 7995b2f
View code at this point
Browse repository at this point
Commits on Mar 23, 2019
Fixed #9032 (False-positive detection of reassigned value before used for pointer parameter)
danmar
committed
418eb43
View commit details
Copy full SHA for 418eb43
View code at this point
Browse repository at this point
Commits on Mar 19, 2019
Fix issue 8996: False positive duplicateCondition
Show description for 774464e
pfultz2
authored and
danmar
committed
774464e
View commit details
Copy full SHA for 774464e
View code at this point
Browse repository at this point
Commits on Mar 4, 2019
Library configuration: function argument direction fixes and enhancements (#1722)
Show description for 0934577
versat
authored
0934577
View commit details
Copy full SHA for 0934577
View code at this point
Browse repository at this point
Commits on Mar 1, 2019
Library configuration: Enable configuring the direction of arguments. (#1717)
Show description for 9a5fcdd
versat
authored
9a5fcdd
View commit details
Copy full SHA for 9a5fcdd
View code at this point
Browse repository at this point
Fixed pattern matching in isVariableChanged() to handle normal token list better
danmar
committed
845c407
View commit details
Copy full SHA for 845c407
View code at this point
Browse repository at this point
Commits on Feb 28, 2019
Improved isVariableChangedByFunctionCall, better logic when parameter might be passed by reference
danmar
committed
4f5a426
View commit details
Copy full SHA for 4f5a426
View code at this point
Browse repository at this point
Revert "Improved isVariableChangedByFunctionCall, better logic when parameter might be passed by reference"
Show description for 494dd2b
danmar
committed
494dd2b
View commit details
Copy full SHA for 494dd2b
View code at this point
Browse repository at this point
Improved isVariableChangedByFunctionCall, better logic when parameter might be passed by reference
danmar
committed
14a0031
View commit details
Copy full SHA for 14a0031
View code at this point
Browse repository at this point
Make quick fix for uninitialized variable false positive. Will look more at this soon.
danmar
committed
857681a
View commit details
Copy full SHA for 857681a
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.