René's URL Explorer Experiment


Title: Add check: invalidPointerOverlapTest for unsafe pointer overflow comparison by tmleman · Pull Request #8620 · cppcheck-opensource/cppcheck · GitHub

Open Graph Title: Add check: invalidPointerOverlapTest for unsafe pointer overflow comparison by tmleman · Pull Request #8620 · cppcheck-opensource/cppcheck

X Title: Add check: invalidPointerOverlapTest for unsafe pointer overflow comparison by tmleman · Pull Request #8620 · cppcheck-opensource/cppcheck

Description: static analysis of C/C++ code. Contribute to cppcheck-opensource/cppcheck development by creating an account on GitHub.

Open Graph Description: Add a new inconclusive warning that detects the pointer overlap idiom p1 >= p2 && p1 < p2 + n (or its mirror / cast variants) where p1 and p2 are distinct pointers and n is an...

X Description: Add a new inconclusive warning that detects the pointer overlap idiom p1 &gt;= p2 &amp;&amp; p1 &lt; p2 + n (or its mirror / cast variants) where p1 and p2 are distinct poin...

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

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:9f5eb7e0-155e-cc34-2d66-6673002e7f35
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idEE08:1ED2:1CFBD35:2A28CFC:6A4D0D50
html-safe-nonce4fb2344b001812bfb1bce62d9277a599f5dee6a817007e1408e289510b882d1b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRTA4OjFFRDI6MUNGQkQzNToyQTI4Q0ZDOjZBNEQwRDUwIiwidmlzaXRvcl9pZCI6Ijc3NzQzMzc4MTQ4NTQ3MDAzNjgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac9b7cb7cac9edc5af8929b4a4032e9159936fb9fb4823ed65aa76c3330cf73e8d
hovercard-subject-tagpull_request:3790301878
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/cppcheck-opensource/cppcheck/8620/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/9a6182cec9b542c0c43ca7b1be005bc25c3415dc9df080c8001248cc24bc0e54/cppcheck-opensource/cppcheck/pull/8620
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9a6182cec9b542c0c43ca7b1be005bc25c3415dc9df080c8001248cc24bc0e54/cppcheck-opensource/cppcheck/pull/8620
og:image:altAdd a new inconclusive warning that detects the pointer overlap idiom p1 >= p2 && p1 < p2 + n (or its mirror / cast variants) where p1 and p2 are distinct pointers and n is an...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernametmleman
hostnamegithub.com
expected-hostnamegithub.com
Nonebcb4661e6fb4fe8b394c51ea02ccdb2236d40dc59afc75a3bbba50bf6517134c
turbo-cache-controlno-cache
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
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasefb70bd3c4b2bec429781b65419e912c66e2d5581
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/cppcheck-opensource/cppcheck/pull/8620#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fcppcheck%2Fpull%2F8620
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%2F8620
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=cppcheck-opensource%2Fcppcheck
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/8620
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/8620
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/8620
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/8620
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 206 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
tmlemanhttps://github.com/tmleman
cppcheck-opensource:mainhttps://github.com/cppcheck-opensource/cppcheck/tree/main
tmleman:topic/checkcondition/new/pointer_overflowhttps://github.com/tmleman/cppcheck/tree/topic/checkcondition/new/pointer_overflow
Conversationhttps://github.com/cppcheck-opensource/cppcheck/pull/8620
Commits1 (1)https://github.com/cppcheck-opensource/cppcheck/pull/8620/commits
Checkshttps://github.com/cppcheck-opensource/cppcheck/pull/8620/checks
Files changedhttps://github.com/cppcheck-opensource/cppcheck/pull/8620/files
Add check: invalidPointerOverlapTest for unsafe pointer overflow comparisonhttps://github.com/cppcheck-opensource/cppcheck/pull/8620#top
tmlemanhttps://github.com/tmleman
cppcheck-opensource:mainhttps://github.com/cppcheck-opensource/cppcheck/tree/main
tmleman:topic/checkcondition/new/pointer_overflowhttps://github.com/tmleman/cppcheck/tree/topic/checkcondition/new/pointer_overflow
https://github.com/tmleman
tmlemanhttps://github.com/tmleman
Jun 2, 2026https://github.com/cppcheck-opensource/cppcheck/pull/8620#issue-4574019883
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/8620
https://github.com/tmleman
tmlemanhttps://github.com/tmleman
force-pushedhttps://github.com/cppcheck-opensource/cppcheck/compare/fcbffc1f7ce9e968a699279577d5f7f3f80cc0a1..8d9b4ba6e5369c5f772a6e6a419311f836677dee
fcbffc1https://github.com/cppcheck-opensource/cppcheck/commit/fcbffc1f7ce9e968a699279577d5f7f3f80cc0a1
8d9b4bahttps://github.com/cppcheck-opensource/cppcheck/commit/8d9b4ba6e5369c5f772a6e6a419311f836677dee
Compare https://github.com/cppcheck-opensource/cppcheck/compare/fcbffc1f7ce9e968a699279577d5f7f3f80cc0a1..8d9b4ba6e5369c5f772a6e6a419311f836677dee
June 2, 2026 20:27https://github.com/cppcheck-opensource/cppcheck/pull/8620#event-26256425871
https://github.com/tmleman
Add check: invalidPointerOverlapTest for unsafe pointer overflow comp…https://github.com/cppcheck-opensource/cppcheck/pull/8620/commits/8d9b4ba6e5369c5f772a6e6a419311f836677dee
8d9b4bahttps://github.com/cppcheck-opensource/cppcheck/pull/8620/commits/8d9b4ba6e5369c5f772a6e6a419311f836677dee
https://github.com/tmleman
tmlemanhttps://github.com/tmleman
Jun 3, 2026https://github.com/cppcheck-opensource/cppcheck/pull/8620#issuecomment-4616025253
thesofproject/sof#9768https://github.com/thesofproject/sof/issues/9768
thesofproject/sof@7d11802https://github.com/thesofproject/sof/commit/7d11802b0c531c022747f7fca82a045cc6f4c16e
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/8620
https://github.com/tmleman
tmlemanhttps://github.com/tmleman
June 3, 2026 19:31https://github.com/cppcheck-opensource/cppcheck/pull/8620#event-26304053908
https://github.com/danmar
danmarhttps://github.com/danmar
Jun 17, 2026https://github.com/cppcheck-opensource/cppcheck/pull/8620#issuecomment-4728138401
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/8620
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/8620
https://github.co/hiddenchars
https://github.com/cppcheck-opensource/cppcheck/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fcppcheck%2Fpull%2F8620
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/8620
https://github.com/tmleman
https://github.com/danmar
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.