Skip to content
Navigation Menu
Toggle navigation
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
New
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
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 or jump to...
Search code, repositories, users, issues, pull requests...
Search syntax tips
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Sign in
Sign up
Appearance settings
Resetting focus
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 }}
Uh oh!
There was an error while loading.
Please reload this page
.
cppcheck-opensource
/
cppcheck
Public
Notifications
You must be signed in to change notification settings
Fork
1.6k
Star
6.7k
Code
Pull requests
204
Actions
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Security and quality
Insights
Commits
Breadcrumbs
History for
cppcheck
lib
checkfunctions.cpp
on
main
User selector
All users
All time
Commit history
Commits on Jun 23, 2026
fixed some `-Wsign-compare` compiler warnings (#8280)
firewave
authored
e0014e1
Copy full SHA for e0014e1
Commits on Jun 2, 2026
pass `ErrorLogger` by reference in `Check`/`CheckImpl` (#8601)
firewave
authored
8684514
Copy full SHA for 8684514
Commits on May 29, 2026
pass `Settings` by reference in checks (#8593)
firewave
authored
98ac18e
Copy full SHA for 98ac18e
Commits on May 28, 2026
split the actual check implementations from the instances (#5323)
firewave
authored
f1379d6
Copy full SHA for f1379d6
Commits on May 16, 2026
refs #14498 - do not create global static instances of the checks (#8555)
firewave
authored
f7f0549
Copy full SHA for f7f0549
Commits on May 1, 2026
Fix #14715 FP invalidFunctionArgStr, buffer is nul-terminated in every path (#8516)
chrchr-github
authored
e5c4a73
Copy full SHA for e5c4a73
Commits on Mar 11, 2026
Fix #13509 information: --check-library: There is no matching configuration for function T::cbegin() (#8319)
chrchr-github
authored
929f95c
Copy full SHA for 929f95c
Commits on Mar 2, 2026
Release: Update copyright year (#8285)
danmar
authored
9a00e4a
Copy full SHA for 9a00e4a
Commits on Jan 9, 2026
Fix #14370 (False negative: missingReturn in catch) (#8095)
danmar
authored
e031165
Copy full SHA for e031165
Commits on Aug 14, 2025
refs #12232/#7772 - added script to detect missing `--errorlist` entries and test coverage / added some missing `--errorlist` entries (#7439)
firewave
authored
6839929
Copy full SHA for 6839929
Commits on May 8, 2025
pass `Settings` as reference into `TokenList` (#7401)
firewave
authored
646b422
Copy full SHA for 646b422
Commits on Mar 27, 2025
fixed missing parameter to `astContainer*()` calls (#7403)
firewave
authored
06f6f1c
Copy full SHA for 06f6f1c
Commits on Mar 5, 2025
symboldatabase.h: make it possible to forward declare `FunctionType` (#7356)
firewave
authored
3f902a8
Copy full SHA for 3f902a8
symboldatabase.h: make it possible to forward declare `ScopeType` (#7352)
firewave
authored
f880119
Copy full SHA for f880119
Commits on Feb 23, 2025
release: Update copyright year (#7319)
danmar
authored
11f0f4d
Copy full SHA for 11f0f4d
Commits on Jan 2, 2025
fixed #13488 - provide error location of `MathLib::to*Number()` (#4961)
firewave
authored
e406b37
Copy full SHA for e406b37
Commits on Jan 1, 2025
moved `runChecks()` and `getErrorMessages()` implementions of checks into source files (#7139)
firewave
authored
f441e77
Copy full SHA for f441e77
Commits on Dec 23, 2024
fixed some compilation errors with `USE_BOOST_INT128` by using proper types (#7073)
firewave
authored
b090590
Copy full SHA for b090590
Commits on Dec 8, 2024
Fix #10157: FP invalidFunctionArg with memset (if-branch should be discarded) (#7080)
ludviggunne
authored
e27a0e4
Copy full SHA for e27a0e4
Commits on Oct 7, 2024
#13180: Improve check: missing return not found (#6874)
ludviggunne
authored
fb994f9
Copy full SHA for fb994f9
Commits on Oct 5, 2024
fix #11798: FP missingReturn on function with switch (#6806)
ludviggunne
authored
88a236c
Copy full SHA for 88a236c
Commits on Sep 23, 2024
Fix #13105 checkLibraryFunction for smart pointer to container (#6805)
chrchr-github
authored
1f58071
Copy full SHA for 1f58071
Commits on Jun 3, 2024
CheckInternal::checkRedundantNextPrevious(): Fix FN, simplify (#6478)
chrchr-github
authored
32fefc6
Copy full SHA for 32fefc6
Commits on May 23, 2024
Library: made all members private and moved implementations to source file (#6408)
Show description for ab69847
firewave
authored
ab69847
Copy full SHA for ab69847
Commits on May 22, 2024
Partial fix for #12697 FN ignoredReturnValue with "pure" and "const" function attributes (#6380)
chrchr-github
authored
ccfbc0c
Copy full SHA for ccfbc0c
Commits on Apr 26, 2024
changed most `Settings` pointers to references (#6298)
firewave
authored
b7360ce
Copy full SHA for b7360ce
Commits on Apr 20, 2024
Update copyright year (#6310)
danmar
authored
58030b8
Copy full SHA for 58030b8
Commits on Mar 12, 2024
added some missing language checks and adjusted some others (#6112)
Show description for 7134e9e
firewave
authored
7134e9e
Copy full SHA for 7134e9e
Commits on Mar 10, 2024
reduced `Tokenizer::isCPP()` usage / SymbolDatabase: removed `mIsCpp` and `isCPP()` (#5725)
Show description for 40cc208
firewave
authored
40cc208
Copy full SHA for 40cc208
Commits on Mar 5, 2024
reduced `Tokenizer::isC()` usage (#5724)
Show description for 14833a4
firewave
authored
14833a4
Copy full SHA for 14833a4
Commits on Feb 16, 2024
add `test/cli/fuzz_test.py` to easily integrate oss-fuzz findings into tests (#5985)
Show description for 95235ca
firewave
authored
95235ca
Copy full SHA for 95235ca
Commits on Jan 21, 2024
Fixed #12370 (Premium misra/cert/autosar: enable all corresponding checkers in open source cppcheck) (#5901)
danmar
authored
309aa8a
Copy full SHA for 309aa8a
Commits on Jan 18, 2024
Fix #12365 checkLibraryFunction for std::string constructor (#5893)
Show description for 6c0bb5e
chrchr-github
authored
6c0bb5e
Copy full SHA for 6c0bb5e
Commits on Jan 17, 2024
avoid most unchecked dereferences of `Settings` (#5878)
firewave
authored
c996bdb
Copy full SHA for c996bdb
Commits on Oct 5, 2023
MathLib: renamed `to{U}LongNumber()` to `toBig{U}Number()` (#5503)
Show description for fe8730c
firewave
authored
fe8730c
Copy full SHA for fe8730c
Previous
Next
You can’t perform that action at this time.