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 }}
sec-u
/
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
checkstring.cpp
on
master
User selector
All users
Datepicker
All time
Commit history
Commits on May 27, 2017
iwyu - include what you use
mathbunnyru
authored and
danmar
committed
28aa939
View commit details
Copy full SHA for 28aa939
View code at this point
Browse repository at this point
Commits on Apr 23, 2017
Use Token::simpleMatch() for simple pattern
danmar
committed
198c887
View commit details
Copy full SHA for 198c887
View code at this point
Browse repository at this point
Refactoring CheckString::sprintfOverlappingData. Use AST, isSameExpression(), getArguments(), ..
danmar
committed
f2719ec
View commit details
Copy full SHA for f2719ec
View code at this point
Browse repository at this point
Refactoring. Use 'endsWith()'
danmar
committed
f92ef7d
View commit details
Copy full SHA for f92ef7d
View code at this point
Browse repository at this point
Commits on Apr 11, 2017
Refactorization: Reimplemented Settings::_enabled as a bitfeld instead of std::set (#7995)
PKEuS
committed
b1f4bd7
View commit details
Copy full SHA for b1f4bd7
View code at this point
Browse repository at this point
Commits on Oct 12, 2016
Improved char literal handling. In the 'normal' tokenlist these should not be simplified to integer literals.
Daniel Marjamäki
committed
d09a8dd
View commit details
Copy full SHA for d09a8dd
View code at this point
Browse repository at this point
Commits on Oct 9, 2016
charLiteralWithCharPtrCompare: Improved warning to catch any char literal
danmar
committed
0e785e4
View commit details
Copy full SHA for 0e785e4
View code at this point
Browse repository at this point
Commits on Sep 2, 2016
CWE mapping of useAutoPointerMalloc, uselessCallsCompare, uselessCallsSwap, uselessCallsSubstr, uselessCallsEmpty, uselessCallsRemove, derefInvalidIterator, reademptycontainer, multiplySizeof, divi…
Show description for 28f1222
boos
authored and
PKEuS
committed
28f1222
View commit details
Copy full SHA for 28f1222
View code at this point
Browse repository at this point
Commits on Jul 16, 2016
astyle formatting
Show description for 920ac5a
danmar
committed
920ac5a
View commit details
Copy full SHA for 920ac5a
View code at this point
Browse repository at this point
CWE mapping of incorrectStringCompare, literalWithCharPtrCompare, charLiteralWithCharPtrCompare, incorrectStringBooleanError, staticStringCompare, stringCompare, signConversion, unusedFunction, unu…
Show description for 25525e3
boos
committed
25525e3
View commit details
Copy full SHA for 25525e3
View code at this point
Browse repository at this point
Commits on May 25, 2016
Small refactorizations:
Show description for c7b3836
PKEuS
committed
c7b3836
View commit details
Copy full SHA for c7b3836
View code at this point
Browse repository at this point
Commits on Feb 3, 2016
Mapped error ids stlBoundaries, stlcstr, useAutoPointerContainer, useAutoPointerArray, sprintfOverlappingData, strPlusChar, shiftTooManyBits, integerOverflow, uninitstring, uninitdata, uninitvar, u…
Show description for 50fc784
boos
committed
50fc784
View commit details
Copy full SHA for 50fc784
View code at this point
Browse repository at this point
Commits on Jan 13, 2016
CheckString: Fix FP when macros are used.
danmar
committed
8e2f781
View commit details
Copy full SHA for 8e2f781
View code at this point
Browse repository at this point
Commits on Jan 1, 2016
Update copyright year to 2007-2016.
lanurmi
committed
996c924
View commit details
Copy full SHA for 996c924
View code at this point
Browse repository at this point
Commits on Nov 28, 2015
Fixed compiler error introduced in previous commit and several MSVC warnings
PKEuS
committed
93c02ce
View commit details
Copy full SHA for 93c02ce
View code at this point
Browse repository at this point
Cleanup some casts
danmar
committed
6b124a3
View commit details
Copy full SHA for 6b124a3
View code at this point
Browse repository at this point
Commits on Nov 18, 2015
Changed Copyrights. Removed my name.
danmar
committed
0f9d90d
View commit details
Copy full SHA for 0f9d90d
View code at this point
Browse repository at this point
Commits on Oct 19, 2015
Added dot at end of stringLiteralWrite message
PKEuS
committed
06c2025
View commit details
Copy full SHA for 06c2025
View code at this point
Browse repository at this point
Commits on Sep 7, 2015
Omit unneeded match checks
Dmitry-Me
committed
662e3c8
View commit details
Copy full SHA for 662e3c8
View code at this point
Browse repository at this point
Commits on Aug 15, 2015
Added pointer to Type to Token (similar to Token::Variable() and Token::function()):
Show description for 4d80df2
PKEuS
committed
4d80df2
View commit details
Copy full SHA for 4d80df2
View code at this point
Browse repository at this point
Commits on Jun 5, 2015
stringLiteralWrite: Updated error message
danmar
committed
e36cc9f
View commit details
Copy full SHA for e36cc9f
View code at this point
Browse repository at this point
Commits on May 29, 2015
Running astyle, no functional changes.
orbitcowboy
committed
d5d6d7f
View commit details
Copy full SHA for d5d6d7f
View code at this point
Browse repository at this point
Fix #6720 and #6721 (Crashes on garbage code)
Show description for 5b347c5
amai2012
committed
5b347c5
View commit details
Copy full SHA for 5b347c5
View code at this point
Browse repository at this point
Commits on May 10, 2015
stringLiteralWrite: only check in function scopes
danmar
committed
075b07f
View commit details
Copy full SHA for 075b07f
View code at this point
Browse repository at this point
Commits on May 3, 2015
Fixed false positive in new stringLiteralWrite checker
danmar
committed
e837bad
View commit details
Copy full SHA for e837bad
View code at this point
Browse repository at this point
fix internal warning; was
Show description for 6b80e61
matthiaskrgr
committed
6b80e61
View commit details
Copy full SHA for 6b80e61
View code at this point
Browse repository at this point
Updated error message for stringLiteralWrite
danmar
committed
666377d
View commit details
Copy full SHA for 666377d
View code at this point
Browse repository at this point
Fixed #1748 (Undefined Behavior: Modification of string literal)
danmar
committed
9d31afb
View commit details
Copy full SHA for 9d31afb
View code at this point
Browse repository at this point
Commits on Jan 31, 2015
Refactorization: Renamed Token::Match pattern %var% to %name%, implement new pattern %var% which is true if varId > 0.
PKEuS
committed
b283505
View commit details
Copy full SHA for b283505
View code at this point
Browse repository at this point
Commits on Jan 7, 2015
Fixed #6415 - FP stringCompare memcmp(ptr, ptr+offset, length).
orbitcowboy
committed
c07b07b
View commit details
Copy full SHA for c07b07b
View code at this point
Browse repository at this point
Commits on Jan 3, 2015
Updated copyright year to 2015
danmar
committed
ff11ba9
View commit details
Copy full SHA for ff11ba9
View code at this point
Browse repository at this point
Commits on Jan 2, 2015
CheckString::checkAlwaysTrueOrFalseStringCompare: Added support for Microsofts string compare functions.
orbitcowboy
committed
c8bb195
View commit details
Copy full SHA for c8bb195
View code at this point
Browse repository at this point
CheckString::checkAlwaysTrueOrFalseStringCompare: Added support for string compare more functions.
orbitcowboy
committed
8f4f3ca
View commit details
Copy full SHA for 8f4f3ca
View code at this point
Browse repository at this point
Fixed #6398 - false negative: (warning) Unnecessary comparison of static strings.
orbitcowboy
committed
465f74b
View commit details
Copy full SHA for 465f74b
View code at this point
Browse repository at this point
Fixed #6388: Support strncasecmp
orbitcowboy
authored and
PKEuS
committed
d53f2f5
View commit details
Copy full SHA for d53f2f5
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.