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 }}
applsdev
/
cppcheck
Public
forked from
mathieu/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
on
master
User selector
All users
Datepicker
All time
Commit history
Commits on Jul 18, 2011
Merge remote branch 'kimmov/master'
Show description for b64ad69
mathieu
committed
b64ad69
View commit details
Copy full SHA for b64ad69
View code at this point
Browse repository at this point
Commits on Jul 17, 2011
made #2827 fix more generic by adding more ops and using pattern matching rather than string matching
IOBYTE
committed
76d0872
View commit details
Copy full SHA for 76d0872
View code at this point
Browse repository at this point
CheckBufferOverrun: Detect overflows when buffer is allocated with alloca
Daniel Marjamäki
committed
7dcb68f
View commit details
Copy full SHA for 7dcb68f
View code at this point
Browse repository at this point
fix #2827 to use numeric comparisons
IOBYTE
committed
4149617
View commit details
Copy full SHA for 4149617
View code at this point
Browse repository at this point
fix #2827 condition always false or true)
IOBYTE
committed
430d220
View commit details
Copy full SHA for 430d220
View code at this point
Browse repository at this point
Commits on Jul 16, 2011
Tokenizer: better handling of 'struct AB ab; sizeof(ab)'
Daniel Marjamäki
committed
35938e7
View commit details
Copy full SHA for 35938e7
View code at this point
Browse repository at this point
Fixed #2873 (segmentation fault of cppcheck while scanning rose-compiler suite)
Daniel Marjamäki
committed
cf3ab64
View commit details
Copy full SHA for cf3ab64
View code at this point
Browse repository at this point
Tokenizer: minor update to handle C# code better
Daniel Marjamäki
committed
597733b
View commit details
Copy full SHA for 597733b
View code at this point
Browse repository at this point
Fixed #2912 (false positive: (portability) Assigning an integer (int/long/etc) to a pointer is not portable)
Daniel Marjamäki
committed
35178cc
View commit details
Copy full SHA for 35178cc
View code at this point
Browse repository at this point
Fixed #2871 (Define in source not set when -D is used)
Daniel Marjamäki
committed
c55b0ff
View commit details
Copy full SHA for c55b0ff
View code at this point
Browse repository at this point
astyle formatting
Daniel Marjamäki
committed
c299d02
View commit details
Copy full SHA for c299d02
View code at this point
Browse repository at this point
Preprocessor: fix handling of (1&&2) condition
Daniel Marjamäki
committed
07a1222
View commit details
Copy full SHA for 07a1222
View code at this point
Browse repository at this point
Commits on Jul 15, 2011
Tokenizer: Fix minor problem with 'X&&Y'
Daniel Marjamäki
committed
274fd2b
View commit details
Copy full SHA for 274fd2b
View code at this point
Browse repository at this point
astyle formatting
Daniel Marjamäki
committed
d78d866
View commit details
Copy full SHA for d78d866
View code at this point
Browse repository at this point
Fixed #2882 (One-character token can be mistaken for a multiCompare)
John Smits
authored and
Daniel Marjamäki
committed
7f2d62c
View commit details
Copy full SHA for 7f2d62c
View code at this point
Browse repository at this point
fix some more false negatives for #2904 (Memory leak not detected when creating a new class instance)
IOBYTE
committed
af1e51f
View commit details
Copy full SHA for af1e51f
View code at this point
Browse repository at this point
Fixed #2822 (New check: Duplicate break statements in switch)
zblair
committed
997a365
View commit details
Copy full SHA for 997a365
View code at this point
Browse repository at this point
Commits on Jul 14, 2011
fix #2904 (Memory leak not detected when creating a new class instance)
IOBYTE
committed
270b2b1
View commit details
Copy full SHA for 270b2b1
View code at this point
Browse repository at this point
Commits on Jul 7, 2011
Fixed #2892 (false positive: (portability) Assigning an address value to the integer (int/long/etc) type is not portable)
Daniel Marjamäki
committed
66d145b
View commit details
Copy full SHA for 66d145b
View code at this point
Browse repository at this point
Commits on Jul 6, 2011
64-bit portability: fixed two of the TODO test cases. Ticket: #2791
Daniel Marjamäki
committed
4055b0e
View commit details
Copy full SHA for 4055b0e
View code at this point
Browse repository at this point
updated error message about assigning address to integer. Thanks Kimmo for the suggestion.
Daniel Marjamäki
committed
827fb01
View commit details
Copy full SHA for 827fb01
View code at this point
Browse repository at this point
64-bit checking: Added simple check for assigning pointer address to int/long. Ticket: #2791
Daniel Marjamäki
committed
8f0f184
View commit details
Copy full SHA for 8f0f184
View code at this point
Browse repository at this point
Commits on Jul 5, 2011
spell check of error message. contant => constant
Daniel Marjamäki
committed
0007351
View commit details
Copy full SHA for 0007351
View code at this point
Browse repository at this point
Fixed #2866 (Detect sign extension bugs)
Daniel Marjamäki
committed
8cd2c31
View commit details
Copy full SHA for 8cd2c31
View code at this point
Browse repository at this point
Fix spelling error in warning identifier
ghewgill
committed
657b003
View commit details
Copy full SHA for 657b003
View code at this point
Browse repository at this point
Commits on Jul 4, 2011
Fixed #2775 (Uninitialized variable: Not detected when uninitialized struct pointer is dereferenced in sub function)
Daniel Marjamäki
committed
982b645
View commit details
Copy full SHA for 982b645
View code at this point
Browse repository at this point
Commits on Jul 3, 2011
fix #2886 (crash of cppcheck ( typedef struct x { } ))
IOBYTE
committed
b143b28
View commit details
Copy full SHA for b143b28
View code at this point
Browse repository at this point
fix missing pop in Tokenizer::simplifyStructDecl() when anonymous struct/union removed
IOBYTE
committed
8ec1dfa
View commit details
Copy full SHA for 8ec1dfa
View code at this point
Browse repository at this point
Commits on Jul 2, 2011
add support for checking unused std::string local variables
IOBYTE
committed
b32b2c6
View commit details
Copy full SHA for b32b2c6
View code at this point
Browse repository at this point
add class A {} a; -> class A {}; A a; conversion capability to Tokenizer::simplifyStructDecl()
IOBYTE
committed
3f4cc5f
View commit details
Copy full SHA for 3f4cc5f
View code at this point
Browse repository at this point
Commits on Jul 1, 2011
fix #2884 (Integer overflow warning in 64-bit build)
IOBYTE
committed
d447e61
View commit details
Copy full SHA for d447e61
View code at this point
Browse repository at this point
Tokenizer::simplifyGoto: Only simplify the last label in the function. If there are many labels in the same function and all labels are simplified, this function becomes very slow.
Daniel Marjamäki
committed
db4a28d
View commit details
Copy full SHA for db4a28d
View code at this point
Browse repository at this point
fix false positive for unused local class/struct variable
IOBYTE
committed
301e59c
View commit details
Copy full SHA for 301e59c
View code at this point
Browse repository at this point
add support in CheckOther::functionVariableUsage() for checking structures that are declared with struct keyword
IOBYTE
committed
18e6509
View commit details
Copy full SHA for 18e6509
View code at this point
Browse repository at this point
cleanup isStatic in CheckOther::functionVariableUsage()
IOBYTE
committed
3225c9d
View commit details
Copy full SHA for 3225c9d
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.