René's URL Explorer Experiment


Title: Fix issue 13254: FN: containerOutOfBounds (std::equal) by pfultz2 · Pull Request #8695 · cppcheck-opensource/cppcheck · GitHub

Open Graph Title: Fix issue 13254: FN: containerOutOfBounds (std::equal) by pfultz2 · Pull Request #8695 · cppcheck-opensource/cppcheck

X Title: Fix issue 13254: FN: containerOutOfBounds (std::equal) by pfultz2 · Pull Request #8695 · cppcheck-opensource/cppcheck

Description: This adds a new check algorithmOutOfBounds that checks when one of the algorithms will access elements out of bounds based on the sizes of other containers passed in. Right now, it directly checks for the stl algorithms, but we could add attributes to the Library to better describe these algorithms so it can be used for other algorithm libraries.

Open Graph Description: This adds a new check algorithmOutOfBounds that checks when one of the algorithms will access elements out of bounds based on the sizes of other containers passed in. Right now, it directly checks ...

X Description: This adds a new check algorithmOutOfBounds that checks when one of the algorithms will access elements out of bounds based on the sizes of other containers passed in. Right now, it directly checks ...

Opengraph URL: https://github.com/cppcheck-opensource/cppcheck/pull/8695

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:3312cdec-e6e5-faba-a73b-6597ff1143b4
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB7F8:1A0CEA:A531BB:E01AD5:6A4C8CAE
html-safe-nonce99484b071642792a9e86777c9c8ca199721962b9add61e498408bc481e87f383
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCN0Y4OjFBMENFQTpBNTMxQkI6RTAxQUQ1OjZBNEM4Q0FFIiwidmlzaXRvcl9pZCI6IjM2Mzk2OTM4MTM5OTM5OTk1MzUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac22266602937e3b8059371573eee72aa81a8c67d34978d611926c40948d484381
hovercard-subject-tagpull_request:3989548892
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/cppcheck-opensource/cppcheck/pull/8695/files
twitter:imagehttps://avatars.githubusercontent.com/u/1306044?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/1306044?s=400&v=4
og:image:altThis adds a new check algorithmOutOfBounds that checks when one of the algorithms will access elements out of bounds based on the sizes of other containers passed in. Right now, it directly checks ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None3d11bb817438277de2a940854450e83a7d32b6aeb5014e9e6b00a6423900251c
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/cppcheck-opensource/cppcheck git https://github.com/cppcheck-opensource/cppcheck.git
octolytics-dimension-user_id278097703
octolytics-dimension-user_logincppcheck-opensource
octolytics-dimension-repository_id143131
octolytics-dimension-repository_nwocppcheck-opensource/cppcheck
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id143131
octolytics-dimension-repository_network_root_nwocppcheck-opensource/cppcheck
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release7a2dede45637df6b92ddcfe2a557e67d4b5854ae
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/cppcheck-opensource/cppcheck/pull/8695/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fcppcheck%2Fpull%2F8695%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fcppcheck%2Fpull%2F8695%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=cppcheck-opensource%2Fcppcheck
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/8695/files
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/8695/files
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/8695/files
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/8695/files
cppcheck-opensource https://github.com/cppcheck-opensource
cppcheckhttps://github.com/cppcheck-opensource/cppcheck
Notifications https://github.com/login?return_to=%2Fcppcheck-opensource%2Fcppcheck
Fork 1.6k https://github.com/login?return_to=%2Fcppcheck-opensource%2Fcppcheck
Star 6.7k https://github.com/login?return_to=%2Fcppcheck-opensource%2Fcppcheck
Code https://github.com/cppcheck-opensource/cppcheck
Pull requests 205 https://github.com/cppcheck-opensource/cppcheck/pulls
Actions https://github.com/cppcheck-opensource/cppcheck/actions
Security and quality 0 https://github.com/cppcheck-opensource/cppcheck/security
Insights https://github.com/cppcheck-opensource/cppcheck/pulse
Code https://github.com/cppcheck-opensource/cppcheck
Pull requests https://github.com/cppcheck-opensource/cppcheck/pulls
Actions https://github.com/cppcheck-opensource/cppcheck/actions
Security and quality https://github.com/cppcheck-opensource/cppcheck/security
Insights https://github.com/cppcheck-opensource/cppcheck/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fcppcheck-opensource%2Fcppcheck%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fcppcheck-opensource%2Fcppcheck%2Fissues%2Fnew%2Fchoose
pfultz2https://github.com/pfultz2
cppcheck-opensource:mainhttps://github.com/cppcheck-opensource/cppcheck/tree/main
pfultz2:check-algo-out-of-boundshttps://github.com/pfultz2/cppcheck/tree/check-algo-out-of-bounds
Conversation 0 https://github.com/cppcheck-opensource/cppcheck/pull/8695
Commits 12 https://github.com/cppcheck-opensource/cppcheck/pull/8695/commits
Checks 70 https://github.com/cppcheck-opensource/cppcheck/pull/8695/checks
Files changed https://github.com/cppcheck-opensource/cppcheck/pull/8695/files
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/8695/files
Fix issue 13254: FN: containerOutOfBounds (std::equal) https://github.com/cppcheck-opensource/cppcheck/pull/8695/files#top
Show all changes 12 commits https://github.com/cppcheck-opensource/cppcheck/pull/8695/files
2ff811f Add check for algo out of bounds Jul 3, 2026 https://github.com/cppcheck-opensource/cppcheck/pull/8695/commits/2ff811f8b2373eb10702b8664fcb7c50856b0094
0568587 Simplify Jul 3, 2026 https://github.com/cppcheck-opensource/cppcheck/pull/8695/commits/0568587c6eab73306196f009fd0cb16dba84acea
e3c596a Reuse function Jul 4, 2026 https://github.com/cppcheck-opensource/cppcheck/pull/8695/commits/e3c596aaadf17c408bf3d3e7f62915d3c018b9a5
47b4555 Handle mulple size on dst Jul 4, 2026 https://github.com/cppcheck-opensource/cppcheck/pull/8695/commits/47b4555ba95b3ec33097f9443d58f04ddf62f052
702a29c Add another test Jul 4, 2026 https://github.com/cppcheck-opensource/cppcheck/pull/8695/commits/702a29ce545f29f4e17cbadba84bc9f02e62c2ca
f1ba660 Some cleanup Jul 4, 2026 https://github.com/cppcheck-opensource/cppcheck/pull/8695/commits/f1ba660d12e93dda3bde2db9a323d588bc4336cb
ac3b121 Handle possible values on source Jul 4, 2026 https://github.com/cppcheck-opensource/cppcheck/pull/8695/commits/ac3b121cd65b7ca3ba9e88d6c9726e9827e65ec8
8a39dbe Cleanup Jul 4, 2026 https://github.com/cppcheck-opensource/cppcheck/pull/8695/commits/8a39dbe9669be1aa83e6a16f08eb44475c7d63b7
59c63a5 Format Jul 4, 2026 https://github.com/cppcheck-opensource/cppcheck/pull/8695/commits/59c63a581b151dcf1c212b34c7d3f2d6df53b3b4
c2d3e56 Update active checkers Jul 4, 2026 https://github.com/cppcheck-opensource/cppcheck/pull/8695/commits/c2d3e56764f7de2649b7c7ad009f97572636f5f0
0bd4cac Merge branch 'main' into check-algo-out-of-bounds Jul 5, 2026 https://github.com/cppcheck-opensource/cppcheck/pull/8695/commits/0bd4cac97ef01cd79646f74c37115752a862fe30
0dadc9f Add unit test for valueflow changes Jul 5, 2026 https://github.com/cppcheck-opensource/cppcheck/pull/8695/commits/0dadc9f1ecff248fbaa7ff7f6b3c11524a0615e1
Clear filters https://github.com/cppcheck-opensource/cppcheck/pull/8695/files
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/8695/files
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/8695/files
checkers.cpp https://github.com/cppcheck-opensource/cppcheck/pull/8695/files#diff-3c247a21f48d6a47aeb8847d88b447f64f492865eacaa375f23cccf2af042479
checkstl.cpp https://github.com/cppcheck-opensource/cppcheck/pull/8695/files#diff-8ca3ad3eb441d047868162910b05dc86b19a037095af712d5ce93cf7ec96ff75
checkstl.h https://github.com/cppcheck-opensource/cppcheck/pull/8695/files#diff-cac50a1033379b0355b0e8ed9a9bd2c7767e557f4c791239d1caf426c9676b72
valueflow.cpp https://github.com/cppcheck-opensource/cppcheck/pull/8695/files#diff-16a9ec3ff1314646e106eb413234f5614e3a7f527fb82d0a369755bee65a7e31
other_test.py https://github.com/cppcheck-opensource/cppcheck/pull/8695/files#diff-a6147f590942e7d785a36fcd8e5dc9a2a45198ead99624e43cfc6da6eca4f40d
teststl.cpp https://github.com/cppcheck-opensource/cppcheck/pull/8695/files#diff-c3ce67726f78909fc33b283ac95a4a3792fda6fc74a789fb3be4ceb6656ee73b
testvalueflow.cpp https://github.com/cppcheck-opensource/cppcheck/pull/8695/files#diff-0c918c64e1eee55c83249b2cbe2beb837af6dd0a5a4273a1ae9168cd0582ba8d
lib/checkers.cpphttps://github.com/cppcheck-opensource/cppcheck/pull/8695/files#diff-3c247a21f48d6a47aeb8847d88b447f64f492865eacaa375f23cccf2af042479
View file https://github.com/cppcheck-opensource/cppcheck/blob/0dadc9f1ecff248fbaa7ff7f6b3c11524a0615e1/lib/checkers.cpp
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cppcheck-opensource/cppcheck/pull/8695/{{ revealButtonHref }}
https://github.com/cppcheck-opensource/cppcheck/pull/8695/files#diff-3c247a21f48d6a47aeb8847d88b447f64f492865eacaa375f23cccf2af042479
https://github.com/cppcheck-opensource/cppcheck/pull/8695/files#diff-3c247a21f48d6a47aeb8847d88b447f64f492865eacaa375f23cccf2af042479
lib/checkstl.cpphttps://github.com/cppcheck-opensource/cppcheck/pull/8695/files#diff-8ca3ad3eb441d047868162910b05dc86b19a037095af712d5ce93cf7ec96ff75
View file https://github.com/cppcheck-opensource/cppcheck/blob/0dadc9f1ecff248fbaa7ff7f6b3c11524a0615e1/lib/checkstl.cpp
Open in desktop https://desktop.github.com
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/8695/files
lib/checkstl.hhttps://github.com/cppcheck-opensource/cppcheck/pull/8695/files#diff-cac50a1033379b0355b0e8ed9a9bd2c7767e557f4c791239d1caf426c9676b72
View file https://github.com/cppcheck-opensource/cppcheck/blob/0dadc9f1ecff248fbaa7ff7f6b3c11524a0615e1/lib/checkstl.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cppcheck-opensource/cppcheck/pull/8695/{{ revealButtonHref }}
https://github.com/cppcheck-opensource/cppcheck/pull/8695/files#diff-cac50a1033379b0355b0e8ed9a9bd2c7767e557f4c791239d1caf426c9676b72
https://github.com/cppcheck-opensource/cppcheck/pull/8695/files#diff-cac50a1033379b0355b0e8ed9a9bd2c7767e557f4c791239d1caf426c9676b72
https://github.com/cppcheck-opensource/cppcheck/pull/8695/files#diff-cac50a1033379b0355b0e8ed9a9bd2c7767e557f4c791239d1caf426c9676b72
https://github.com/cppcheck-opensource/cppcheck/pull/8695/files#diff-cac50a1033379b0355b0e8ed9a9bd2c7767e557f4c791239d1caf426c9676b72
https://github.com/cppcheck-opensource/cppcheck/pull/8695/files#diff-cac50a1033379b0355b0e8ed9a9bd2c7767e557f4c791239d1caf426c9676b72
https://github.com/cppcheck-opensource/cppcheck/pull/8695/files#diff-cac50a1033379b0355b0e8ed9a9bd2c7767e557f4c791239d1caf426c9676b72
https://github.com/cppcheck-opensource/cppcheck/pull/8695/files#diff-cac50a1033379b0355b0e8ed9a9bd2c7767e557f4c791239d1caf426c9676b72
https://github.com/cppcheck-opensource/cppcheck/pull/8695/files#diff-cac50a1033379b0355b0e8ed9a9bd2c7767e557f4c791239d1caf426c9676b72
lib/valueflow.cpphttps://github.com/cppcheck-opensource/cppcheck/pull/8695/files#diff-16a9ec3ff1314646e106eb413234f5614e3a7f527fb82d0a369755bee65a7e31
View file https://github.com/cppcheck-opensource/cppcheck/blob/0dadc9f1ecff248fbaa7ff7f6b3c11524a0615e1/lib/valueflow.cpp
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cppcheck-opensource/cppcheck/pull/8695/{{ revealButtonHref }}
https://github.com/cppcheck-opensource/cppcheck/pull/8695/files#diff-16a9ec3ff1314646e106eb413234f5614e3a7f527fb82d0a369755bee65a7e31
https://github.com/cppcheck-opensource/cppcheck/pull/8695/files#diff-16a9ec3ff1314646e106eb413234f5614e3a7f527fb82d0a369755bee65a7e31
test/cli/other_test.pyhttps://github.com/cppcheck-opensource/cppcheck/pull/8695/files#diff-a6147f590942e7d785a36fcd8e5dc9a2a45198ead99624e43cfc6da6eca4f40d
View file https://github.com/cppcheck-opensource/cppcheck/blob/0dadc9f1ecff248fbaa7ff7f6b3c11524a0615e1/test/cli/other_test.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cppcheck-opensource/cppcheck/pull/8695/{{ revealButtonHref }}
https://github.com/cppcheck-opensource/cppcheck/pull/8695/files#diff-a6147f590942e7d785a36fcd8e5dc9a2a45198ead99624e43cfc6da6eca4f40d
https://github.com/cppcheck-opensource/cppcheck/pull/8695/files#diff-a6147f590942e7d785a36fcd8e5dc9a2a45198ead99624e43cfc6da6eca4f40d
https://github.com/cppcheck-opensource/cppcheck/pull/8695/files#diff-a6147f590942e7d785a36fcd8e5dc9a2a45198ead99624e43cfc6da6eca4f40d
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/8695/files
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/8695/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.