René's URL Explorer Experiment


Title: Fix #7570: Support address-of operator on variables in `getBufferSize()` by flovent · Pull Request #7767 · cppcheck-opensource/cppcheck · GitHub

Open Graph Title: Fix #7570: Support address-of operator on variables in `getBufferSize()` by flovent · Pull Request #7767 · cppcheck-opensource/cppcheck

X Title: Fix #7570: Support address-of operator on variables in `getBufferSize()` by flovent · Pull Request #7767 · 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: Detect address-of token in getBufferSize() and get the underlying variable's corresponding buffer size. stringNotZeroTerminated() also calls getBuffersize(), so it will also benefit.

X Description: Detect address-of token in getBufferSize() and get the underlying variable's corresponding buffer size. stringNotZeroTerminated() also calls getBuffersize(), so it will also benefit.

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/checks(.:format)
route-controllerpull_requests
route-actionchecks
fetch-noncev2:d1c7807b-ab90-d226-22be-bddb03c2148a
current-catalog-service-hash87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a
request-idD096:3F0628:A7A6AEF:AAF42C8:6A50A2F2
html-safe-noncef4ca05e60868acf8ed1c69d205deac100962bbd27a43c7b25668ccb181b0b7bd
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMDk2OjNGMDYyODpBN0E2QUVGOkFBRjQyQzg6NkE1MEEyRjIiLCJ2aXNpdG9yX2lkIjoiNjA2NjkyODA5OTUyOTg5MjU5NCIsInJlZ2lvbl9lZGdlIjoic2VhIiwicmVnaW9uX3JlbmRlciI6InNlYSJ9
visitor-hmac84d427ce711ed14e1f102621dd145e3aea58175bda0121c64370d8a887306bce
hovercard-subject-tagpull_request:2768172288
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/checks
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/cppcheck-opensource/cppcheck/pull/7767/checks
twitter:imagehttps://opengraph.githubassets.com/98766d445546dd2d7cb81e508d780ecc9ab52bde277dc6bdef48bc83f4ae1dea/cppcheck-opensource/cppcheck/pull/7767
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/98766d445546dd2d7cb81e508d780ecc9ab52bde277dc6bdef48bc83f4ae1dea/cppcheck-opensource/cppcheck/pull/7767
og:image:altDetect address-of token in getBufferSize() and get the underlying variable's corresponding buffer size. stringNotZeroTerminated() also calls getBuffersize(), so it will also benefit.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameflovent
hostnamegithub.com
expected-hostnamegithub.com
Noned6dc8294eb500fa36bbc57472d61fe87c522f9c3c1d64f70f4926f66a66a7efb
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
release7ac0ad2f2c7e4b9056617355fd9e33e22b0c8df9
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/cppcheck-opensource/cppcheck/pull/7767/checks#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fcppcheck%2Fpull%2F7767%2Fchecks
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/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/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/enterprise/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%2F7767%2Fchecks
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%2Fchecks&source=header-repo&source_repo=cppcheck-opensource%2Fcppcheck
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/7767/checks
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/7767/checks
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/7767/checks
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/7767/checks
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 203 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
danmarhttps://github.com/danmar
cppcheck-opensource:mainhttps://github.com/cppcheck-opensource/cppcheck/tree/main
flovent:ticket-7570https://github.com/flovent/cppcheck/tree/ticket-7570
Conversationhttps://github.com/cppcheck-opensource/cppcheck/pull/7767
Commits8 (8)https://github.com/cppcheck-opensource/cppcheck/pull/7767/commits
Checkshttps://github.com/cppcheck-opensource/cppcheck/pull/7767/checks
Files changedhttps://github.com/cppcheck-opensource/cppcheck/pull/7767/files
Fix #7570: Support address-of operator on variables in getBufferSize()https://github.com/cppcheck-opensource/cppcheck/pull/7767/checks#top
danmarhttps://github.com/danmar
cppcheck-opensource:mainhttps://github.com/cppcheck-opensource/cppcheck/tree/main
flovent:ticket-7570https://github.com/flovent/cppcheck/tree/ticket-7570
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/7767/checks
Sign in for the full log viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fcppcheck%2Fpull%2F7767%2Fchecks
address sanitizer on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375583
build https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375583/job/50159802315?pr=7767
CI-windows on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375594
build_qt (windows-2022, 6.9.1) https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375594/job/50159802292?pr=7767
build_qt (windows-2025, 6.9.1) https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375594/job/50159802320?pr=7767
build (windows-2022, debug) https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375594/job/50159802294?pr=7767
build (windows-2022, release) https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375594/job/50159802346?pr=7767
build (windows-2025, debug) https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375594/job/50159802408?pr=7767
build (windows-2025, release) https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375594/job/50159802300?pr=7767
scriptcheck on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375604
build https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375604/job/50159802583?pr=7767
dmake (ubuntu-22.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375604/job/50159802575?pr=7767
dmake (macos-13) https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375604/job/50159802576?pr=7767
dmake (macos-15) https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375604/job/50159802557?pr=7767
dmake (windows-2025) https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375604/job/50159802585?pr=7767
scriptcheck (3.7) https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375604/job/50159851382?pr=7767
scriptcheck (3.8) https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375604/job/50159851378?pr=7767
scriptcheck (3.9) https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375604/job/50159852183?pr=7767
scriptcheck (3.10) https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375604/job/50159851374?pr=7767
scriptcheck (3.11) https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375604/job/50159851376?pr=7767
scriptcheck (3.12) https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375604/job/50159851371?pr=7767
scriptcheck (3.13) https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375604/job/50159851392?pr=7767
CI-unixish-docker on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375603
build_cmake (ubuntu:24.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375603/job/50159802535?pr=7767
build_cmake (ubuntu:24.10) https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375603/job/50159802530?pr=7767
build_make (ubuntu:24.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375603/job/50159802548?pr=7767
build_make (ubuntu:24.10) https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375603/job/50159802534?pr=7767
thread sanitizer on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375607
build https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375607/job/50159802561?pr=7767
CI-cygwin on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375610
build_cygwin (windows-2025, x86_64) https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375610/job/50159803010?pr=7767
CI-unixish on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375612
build_cmake_tinyxml2 (ubuntu-22.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375612/job/50159802499?pr=7767
build_cmake_tinyxml2 (macos-13) https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375612/job/50159802510?pr=7767
build_cmake_tinyxml2 (macos-15) https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375612/job/50159802502?pr=7767
build_cmake (ubuntu-22.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375612/job/50159802509?pr=7767
build_cmake (macos-13) https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375612/job/50159802513?pr=7767
build_cmake (macos-15) https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375612/job/50159802528?pr=7767
build_uchar (ubuntu-22.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375612/job/50159802569?pr=7767
build_uchar (macos-13) https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375612/job/50159802540?pr=7767
build_uchar (macos-15) https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375612/job/50159802600?pr=7767
build_mathlib (ubuntu-22.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375612/job/50159802522?pr=7767
build_mathlib (macos-13) https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375612/job/50159802545?pr=7767
build_mathlib (macos-15) https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375612/job/50159802553?pr=7767
check_nonneg (ubuntu-22.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375612/job/50159802582?pr=7767
check_nonneg (macos-13) https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375612/job/50159802591?pr=7767
check_nonneg (macos-15) https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375612/job/50159802628?pr=7767
build_cmake_boost (macos-13) https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375612/job/50159802612?pr=7767
build_cmake_boost (macos-15) https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375612/job/50159802573?pr=7767
build (ubuntu-22.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375612/job/50159802593?pr=7767
build (macos-13) https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375612/job/50159802625?pr=7767
build (macos-15) https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375612/job/50159802602?pr=7767
selfcheck https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375612/job/50161417658?pr=7767
Coverage on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375614
build https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375614/job/50159802730?pr=7767
CodeQL on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375613
Analyze (cpp) https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375613/job/50159803040?pr=7767
Analyze (python) https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375613/job/50159803054?pr=7767
selfcheck on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375618
build https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375618/job/50159802847?pr=7767
clang-tidy on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375620
build https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375620/job/50159803208?pr=7767
cppcheck-premium on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375627
build https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375627/job/50159803374?pr=7767
CI-mingw on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375625
build_mingw (windows-2025) https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375625/job/50159803113?pr=7767
undefined behaviour sanitizers on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375628
build https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375628/job/50159803537?pr=7767
format on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375629
build https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375629/job/50159803816?pr=7767
CIFuzz on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375639
Fuzzing https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375639/job/50159803837?pr=7767
valgrind on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375638
build https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375638/job/50159803609?pr=7767
Build manual on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375647
convert_via_pandoc https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375647/job/50159804289?pr=7767
manpage https://github.com/cppcheck-opensource/cppcheck/actions/runs/17645375647/job/50159804307?pr=7767
CodeQL https://github.com/cppcheck-opensource/cppcheck/pull/7767/checks?check_run_id=50160440438
Cppcheck https://github.com/cppcheck-opensource/cppcheck/pull/7767/checks?check_run_id=50160462920
SonarCloud https://github.com/cppcheck-opensource/cppcheck/pull/7767/checks?check_run_id=50142514228
SonarCloud Code Analysis https://github.com/cppcheck-opensource/cppcheck/pull/7767/checks?check_run_id=50142514733
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.